aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eunit/src/eunit_proc.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-02-05 12:35:15 +0100
committerHans Bolinder <[email protected]>2018-02-05 14:45:37 +0100
commitf3c2cfda7f145d6ffd2fdd76659348056f1828c9 (patch)
treef484fb24671985a19a2b22c1b0047b5c68e2a4af /lib/eunit/src/eunit_proc.erl
parentc8f9f79352f7da02f212848b9a854ca2f6b553d5 (diff)
downloadotp-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.erl2
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);