Skip to content

Commit

Permalink
adding another exit pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
devonestes committed Dec 18, 2020
1 parent 4f66a78 commit a9b7873
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rollbax/reporter/standard.ex
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ defmodule Rollbax.Reporter.Standard do
{%class{message: message}, inner_stacktrace} -> {inspect(class), message, inner_stacktrace, ""}
{%class{}, inner_stacktrace} -> {inspect(class), inspect(class), inner_stacktrace, ""}
{atom, inner_stacktrace} when is_atom(atom) -> {inspect(atom), inspect(atom), inner_stacktrace, ""}
{{%class{message: message}, inner_stacktrace}, _} -> {inspect(class), message, inner_stacktrace, ""}
reason -> {"ProcessCrash", "A process crashed", stacktrace, inspect(reason, limit: :infinity)}
end
end
Expand Down

0 comments on commit a9b7873

Please sign in to comment.