diff --git a/lib/sentry/plug_capture.ex b/lib/sentry/plug_capture.ex index d5fa5729..07a4b8d9 100644 --- a/lib/sentry/plug_capture.ex +++ b/lib/sentry/plug_capture.ex @@ -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