diff options
author | Hans Nilsson <[email protected]> | 2018-06-01 10:49:45 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2018-06-01 10:49:45 +0200 |
commit | c08d7b0e61f3763726c0d6564d57fab195026b0b (patch) | |
tree | e41c7c958081518dad7ba408e772f17e862b3afd /lib/ssh/src/ssh_client_channel.erl | |
parent | 2f19f05194950b45e31cc3f6988f1379a10173e4 (diff) | |
parent | d3b29633d42df9dd7d8a2f09d5b0c98f637fbacd (diff) | |
download | otp-c08d7b0e61f3763726c0d6564d57fab195026b0b.tar.gz otp-c08d7b0e61f3763726c0d6564d57fab195026b0b.tar.bz2 otp-c08d7b0e61f3763726c0d6564d57fab195026b0b.zip |
Merge branch 'hans/ssh/channel_polish/OTP-15083'
* hans/ssh/channel_polish/OTP-15083:
ssh: Better crash report for bad channel callback module
Diffstat (limited to 'lib/ssh/src/ssh_client_channel.erl')
-rw-r--r-- | lib/ssh/src/ssh_client_channel.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ssh/src/ssh_client_channel.erl b/lib/ssh/src/ssh_client_channel.erl index 134d3f08bd..8b5e196412 100644 --- a/lib/ssh/src/ssh_client_channel.erl +++ b/lib/ssh/src/ssh_client_channel.erl @@ -180,6 +180,8 @@ init([Options]) -> {stop, Why} -> {stop, Why} catch + _:undef -> + {stop, {bad_channel_callback_module,Cb}}; _:Reason -> {stop, Reason} end. |