Skip to content

Commit

Permalink
show arguments in stacktrace (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
TraceyOnim authored Jul 12, 2021
1 parent e62a266 commit accd0a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/honeybadger/notice.ex
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ defmodule Honeybadger.Notice do

def new(exception, metadata, stacktrace, fingerprint)
when is_map(metadata) and is_list(stacktrace) do
{exception, stacktrace} = Exception.blame(:error, exception, stacktrace)
{exception, _stacktrace} = Exception.blame(:error, exception, stacktrace)

%{__struct__: exception_mod} = exception

Expand Down

0 comments on commit accd0a1

Please sign in to comment.