We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f06b1ac commit 4975d0cCopy full SHA for 4975d0c
lib/sentry/client.ex
@@ -218,6 +218,13 @@ defmodule Sentry.Client do
218
@hackney_pool_name
219
end
220
221
+ @doc """
222
+ Transform the Event struct into JSON map.
223
+
224
+ Most Event attributes map directly to JSON map, with stacktrace being the
225
+ exception. If the event does not have stacktrace frames, it should not
226
+ be included in the JSON body.
227
+ """
228
def render_event(%Event{} = event) do
229
map = %{
230
event_id: event.event_id,
0 commit comments