Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.

Commit

Permalink
fix get_stacktrace issue in test.erl
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim Molchanov authored Apr 20, 2019
1 parent 1c1ef25 commit 52e23ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test.erl
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ hoist(ErrorT, Label, PlainFun) ->
PlainFun(),
return(passed)
catch
Class:Reason ->
fail({Label, Class, Reason, erlang:get_stacktrace()})
Class:Reason:Stk ->
fail({Label, Class, Reason, Stk})
end]).

0 comments on commit 52e23ec

Please sign in to comment.