diff options
author | Hans Bolinder <[email protected]> | 2018-02-05 12:35:15 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2018-02-05 14:45:37 +0100 |
commit | f3c2cfda7f145d6ffd2fdd76659348056f1828c9 (patch) | |
tree | f484fb24671985a19a2b22c1b0047b5c68e2a4af /lib/eunit/src/eunit_proc.erl | |
parent | c8f9f79352f7da02f212848b9a854ca2f6b553d5 (diff) | |
download | otp-f3c2cfda7f145d6ffd2fdd76659348056f1828c9.tar.gz otp-f3c2cfda7f145d6ffd2fdd76659348056f1828c9.tar.bz2 otp-f3c2cfda7f145d6ffd2fdd76659348056f1828c9.zip |
eunit: Do not call erlang:get_stacktrace()
Diffstat (limited to 'lib/eunit/src/eunit_proc.erl')
-rw-r--r-- | lib/eunit/src/eunit_proc.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/eunit/src/eunit_proc.erl b/lib/eunit/src/eunit_proc.erl index e075005238..96bdcf88b6 100644 --- a/lib/eunit/src/eunit_proc.erl +++ b/lib/eunit/src/eunit_proc.erl @@ -628,7 +628,7 @@ io_request({put_chars, M, F, As}, Buf) -> try apply(M, F, As) of Chars -> {ok, [Chars | Buf]} catch - C:T -> {{error, {C,T,erlang:get_stacktrace()}}, Buf} + C:T:S -> {{error, {C,T,S}}, Buf} end; io_request({put_chars, _Enc, Chars}, Buf) -> io_request({put_chars, Chars}, Buf); |