diff options
author | Hans Bolinder <[email protected]> | 2018-02-05 12:34:37 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2018-02-05 14:45:37 +0100 |
commit | b2e979e1b0cc376e7408cbdd480eb140b533f75a (patch) | |
tree | 593883433d62d3c90a2561d820d08635d51760ad /lib/inets/src/http_client | |
parent | f3c2cfda7f145d6ffd2fdd76659348056f1828c9 (diff) | |
download | otp-b2e979e1b0cc376e7408cbdd480eb140b533f75a.tar.gz otp-b2e979e1b0cc376e7408cbdd480eb140b533f75a.tar.bz2 otp-b2e979e1b0cc376e7408cbdd480eb140b533f75a.zip |
inets: Do not call erlang:get_stacktrace()
Diffstat (limited to 'lib/inets/src/http_client')
-rw-r--r-- | lib/inets/src/http_client/httpc_handler.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/inets/src/http_client/httpc_handler.erl b/lib/inets/src/http_client/httpc_handler.erl index 1482f4f922..1d569bd2ff 100644 --- a/lib/inets/src/http_client/httpc_handler.erl +++ b/lib/inets/src/http_client/httpc_handler.erl @@ -1685,9 +1685,8 @@ update_session(ProfileName, #session{id = SessionId} = Session, Pos, Value) -> insert_session(Session2, ProfileName); error:badarg -> {stop, normal}; - T:E -> + T:E:Stacktrace -> %% Unexpected this must be an error! - Stacktrace = erlang:get_stacktrace(), error_logger:error_msg("Failed updating session: " "~n ProfileName: ~p" "~n SessionId: ~p" |