diff options
author | Hans Bolinder <[email protected]> | 2017-05-17 16:16:58 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2017-05-18 15:36:34 +0200 |
commit | a99b0a2a570e7429b05f3ce424880744ee3a8814 (patch) | |
tree | c31d739d10110daff37488431c9f16c42ea05d4b /lib/stdlib/src/gen_server.erl | |
parent | 86a74bfaefd570245740624d85659efa8821765b (diff) | |
download | otp-a99b0a2a570e7429b05f3ce424880744ee3a8814.tar.gz otp-a99b0a2a570e7429b05f3ce424880744ee3a8814.tar.bz2 otp-a99b0a2a570e7429b05f3ce424880744ee3a8814.zip |
kernel: Introcude error_logger:get_format_depth()
Diffstat (limited to 'lib/stdlib/src/gen_server.erl')
-rw-r--r-- | lib/stdlib/src/gen_server.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/gen_server.erl b/lib/stdlib/src/gen_server.erl index 460ea0ed16..9f6568473d 100644 --- a/lib/stdlib/src/gen_server.erl +++ b/lib/stdlib/src/gen_server.erl @@ -859,7 +859,7 @@ error_info(Reason, Name, From, Msg, State, Debug) -> end end; _ -> - Reason + error_logger:limit_term(Reason) end, {ClientFmt, ClientArgs} = client_stacktrace(From), LimitedState = error_logger:limit_term(State), |