Skip to content

Commit

Permalink
Merge pull request getsentry#475 from maxwowo/master
Browse files Browse the repository at this point in the history
Fix dialyzer reporting unmatched_return for Sentry.PlugCapture
  • Loading branch information
mitchellhenke authored May 2, 2021
2 parents 64bce3d + 09cd476 commit 02a2cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sentry/plug_capture.ex
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ defmodule Sentry.PlugCapture do
kind, reason ->
message = "Uncaught #{kind} - #{inspect(reason)}"
stack = __STACKTRACE__
Sentry.capture_message(message, stacktrace: stack, event_source: :plug)
_ = Sentry.capture_message(message, stacktrace: stack, event_source: :plug)
:erlang.raise(kind, reason, stack)
end
end
Expand Down

0 comments on commit 02a2cc3

Please sign in to comment.