Skip to content

Commit a9b7873

Browse files
committed
adding another exit pattern
1 parent 4f66a78 commit a9b7873

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/rollbax/reporter/standard.ex

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ defmodule Rollbax.Reporter.Standard do
9797
{%class{message: message}, inner_stacktrace} -> {inspect(class), message, inner_stacktrace, ""}
9898
{%class{}, inner_stacktrace} -> {inspect(class), inspect(class), inner_stacktrace, ""}
9999
{atom, inner_stacktrace} when is_atom(atom) -> {inspect(atom), inspect(atom), inner_stacktrace, ""}
100+
{{%class{message: message}, inner_stacktrace}, _} -> {inspect(class), message, inner_stacktrace, ""}
100101
reason -> {"ProcessCrash", "A process crashed", stacktrace, inspect(reason, limit: :infinity)}
101102
end
102103
end

0 commit comments

Comments
 (0)