diff options
author | Niclas Eklund <[email protected]> | 2010-04-21 10:42:46 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-04-21 10:42:46 +0000 |
commit | 08225797f7ef943d0c82a1d9dd6650d94ca2580d (patch) | |
tree | 804db67dba672566fe108116c5f7aba8539d1339 /lib/ssh/src/ssh_connection_manager.erl | |
parent | 8d1088d461c46211ff91eb21e9470e85f4bdc29c (diff) | |
download | otp-08225797f7ef943d0c82a1d9dd6650d94ca2580d.tar.gz otp-08225797f7ef943d0c82a1d9dd6650d94ca2580d.tar.bz2 otp-08225797f7ef943d0c82a1d9dd6650d94ca2580d.zip |
New branch for ssh-2.0 and later
Diffstat (limited to 'lib/ssh/src/ssh_connection_manager.erl')
-rw-r--r-- | lib/ssh/src/ssh_connection_manager.erl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/ssh/src/ssh_connection_manager.erl b/lib/ssh/src/ssh_connection_manager.erl index a2effc177e..7f0993a5b7 100644 --- a/lib/ssh/src/ssh_connection_manager.erl +++ b/lib/ssh/src/ssh_connection_manager.erl @@ -272,18 +272,18 @@ handle_call({ssh_msg, Pid, Msg}, From, {stop, normal, State#state{connection_state = Connection}} catch exit:{noproc, Reason} -> - Report = io_lib:format("Connection probably terminated:~n~p~n~p~n~p~n", - [ConnectionMsg, Reason, erlang:get_stacktrace()]), + Report = io_lib:format("Connection probably terminated:~n~p~n~p~n", + [ConnectionMsg, Reason]), error_logger:info_report(Report), {noreply, State}; error:Error -> - Report = io_lib:format("Connection message returned:~n~p~n~p~n~p~n", - [ConnectionMsg, Error, erlang:get_stacktrace()]), + Report = io_lib:format("Connection message returned:~n~p~n~p~n", + [ConnectionMsg, Error]), error_logger:info_report(Report), {noreply, State}; exit:Exit -> - Report = io_lib:format("Connection message returned:~n~p~n~p~n~p~n", - [ConnectionMsg, Exit, erlang:get_stacktrace()]), + Report = io_lib:format("Connection message returned:~n~p~n~p~n", + [ConnectionMsg, Exit]), error_logger:info_report(Report), {noreply, State} end; |