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 893e2e9 commit c85be19Copy full SHA for c85be19
lib/sentry/plug_capture.ex
@@ -39,11 +39,11 @@ defmodule Sentry.PlugCapture do
39
rescue
40
e in Plug.Conn.WrapperError ->
41
exception = Exception.normalize(:error, e.reason, e.stack)
42
- Sentry.capture_exception(exception, stacktrace: e.stack, event_source: :plug)
+ _ = Sentry.capture_exception(exception, stacktrace: e.stack, event_source: :plug)
43
Plug.Conn.WrapperError.reraise(e)
44
45
e ->
46
- Sentry.capture_exception(e, stacktrace: __STACKTRACE__, event_source: :plug)
+ _ = Sentry.capture_exception(e, stacktrace: __STACKTRACE__, event_source: :plug)
47
:erlang.raise(:error, e, __STACKTRACE__)
48
end
49
0 commit comments