Skip to content

Commit

Permalink
Also get message from 'message' field (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssepml authored Apr 22, 2022
1 parent 285ff14 commit dccf360
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/raven_logger_backend.erl
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ get_msg_from_report(#{format := Format, args := Args} = _Report, _Meta) ->
make_readable(Format, Args);
get_msg_from_report(#{description := Description} = _Report, _Meta) ->
Description;
get_msg_from_report(#{message := Message} = _Report, _Meta) ->
Message;
get_msg_from_report(#{reason := Reason} = _Report, _Meta) ->
Reason;
get_msg_from_report(#{error := Error} = _Report, _Meta) ->
Expand Down

0 comments on commit dccf360

Please sign in to comment.