diff options
author | Hans Bolinder <[email protected]> | 2018-02-05 12:34:26 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2018-02-05 14:45:37 +0100 |
commit | 35fa9cbcb2b8299ada7e5a9d9db3f70ff47f5444 (patch) | |
tree | 11bd1b64859c4d2375af144b36127726db73cd20 /lib/dialyzer/src/dialyzer_typesig.erl | |
parent | 9cadd05e3ef7ee93d409b7e4ddb7c0b83b84bce0 (diff) | |
download | otp-35fa9cbcb2b8299ada7e5a9d9db3f70ff47f5444.tar.gz otp-35fa9cbcb2b8299ada7e5a9d9db3f70ff47f5444.tar.bz2 otp-35fa9cbcb2b8299ada7e5a9d9db3f70ff47f5444.zip |
dialyzer: Do not call erlang:get_stacktrace()
Diffstat (limited to 'lib/dialyzer/src/dialyzer_typesig.erl')
-rw-r--r-- | lib/dialyzer/src/dialyzer_typesig.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/dialyzer/src/dialyzer_typesig.erl b/lib/dialyzer/src/dialyzer_typesig.erl index b1f6a54503..953c562083 100644 --- a/lib/dialyzer/src/dialyzer_typesig.erl +++ b/lib/dialyzer/src/dialyzer_typesig.erl @@ -1896,9 +1896,8 @@ solver(Solver, SolveFun) -> ?debug("Solver ~w returned unexpected result:\n ~P\n", [Solver, _R, 60]), throw(error) - catch E:R -> - io:format("Solver ~w failed: ~w:~p\n ~tp\n", - [Solver, E, R, erlang:get_stacktrace()]), + catch E:R:S -> + io:format("Solver ~w failed: ~w:~p\n ~tp\n", [Solver, E, R, S]), throw(error) end. |