diff options
author | David M. Lee <dlee@digium.com> | 2013-07-05 19:56:50 +0000 |
---|---|---|
committer | David M. Lee <dlee@digium.com> | 2013-07-05 19:56:50 +0000 |
commit | cc3478d2e83f8d9ee52d88aecda3693ee463ea96 (patch) | |
tree | 22d80780a342d82e180cbdd79736eab7f9c4cc2f /res | |
parent | 01c21c7aeae598c2a164d0dd76ebfe00e8d3622e (diff) |
Print error details when set nonblock fails
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
-rw-r--r-- | res/stasis_http/ari_websockets.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/res/stasis_http/ari_websockets.c b/res/stasis_http/ari_websockets.c index 60a184657..d020f6248 100644 --- a/res/stasis_http/ari_websockets.c +++ b/res/stasis_http/ari_websockets.c @@ -65,7 +65,8 @@ struct ari_websocket_session *ari_websocket_session_create( if (ast_websocket_set_nonblock(ws_session) != 0) { ast_log(LOG_ERROR, - "Stasis web socket failed to set nonblock; closing\n"); + "ARI web socket failed to set nonblock; closing: %s\n", + strerror(errno)); return NULL; } |