diff --git a/lib/rollbax/reporter/standard.ex b/lib/rollbax/reporter/standard.ex index 5219130..0da4cce 100644 --- a/lib/rollbax/reporter/standard.ex +++ b/lib/rollbax/reporter/standard.ex @@ -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