Skip to content
Snippets Groups Projects
Commit cc3478d2 authored by David M. Lee's avatar David M. Lee
Browse files

Print error details when set nonblock fails

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 01c21c7a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment