Skip to content

Commit

Permalink
mix format
Browse files Browse the repository at this point in the history
  • Loading branch information
grzuy committed Jun 6, 2024
1 parent 7b5fb54 commit 4ae42a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/tower/logger_handler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,10 @@ defmodule Tower.LoggerHandler do
case Exception.normalize(:error, reason) do
%ErlangError{} ->
Tower.report(:exit, reason, stacktrace, meta)

e when is_exception(e) ->
Tower.report_exception(e, stacktrace, meta)

_ ->
Tower.report(:exit, reason, stacktrace, meta)
end
Expand Down

0 comments on commit 4ae42a6

Please sign in to comment.