Print error details when set nonblock fails
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
01c21c7aea
commit
cc3478d2e8
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue