Skip to content

Commit 5252ca9

Browse files
committed
ignore cowboy crash_reason format
1 parent f010584 commit 5252ca9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/sentry/logger_backend.ex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ defmodule Sentry.LoggerBackend do
9393
Sentry.capture_exception(reason, opts)
9494
end
9595

96+
{{_reason, stacktrace}, {_m, _f, args}} when is_list(stacktrace) and is_list(args) ->
97+
# Cowboy stuff
98+
# https://github.com/ninenines/cowboy/blob/master/src/cowboy_stream_h.erl#L148-L151
99+
:ok
100+
96101
reason when is_atom(reason) and not is_nil(reason) ->
97102
Sentry.capture_exception(reason, [{:event_source, :logger} | opts])
98103

0 commit comments

Comments
 (0)