Skip to content

Commit 617e08f

Browse files
author
Jason Stiebs
committed
Warn on Sentry Error as Default
Spoke with Armin and he suggested we either ignore errors or just log as a warning. Fixes #89
1 parent 9cc2776 commit 617e08f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sentry/client.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ defmodule Sentry.Client do
103103
end
104104

105105
defp log_api_error(body) do
106-
Logger.error(fn ->
106+
Logger.warn(fn ->
107107
["Failed to send sentry event.", ?\n, body]
108108
end)
109109
end

0 commit comments

Comments
 (0)