Skip to content

Commit

Permalink
Returning errors (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonsandlin authored Jun 11, 2018
1 parent 2c72cd9 commit 782890f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/WebSocket/WinRT/winrt_websocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ try
catch (Platform::Exception^ e)
{
HC_TRACE_ERROR(WEBSOCKET, "Websocket [ID %llu]: ConnectAsync failed = 0x%0.8x", websocketTask->m_websocketHandle->id, e->HResult);
return e->HResult;
}

return E_PENDING;
Expand Down Expand Up @@ -403,6 +404,7 @@ try
catch (Platform::Exception^ e)
{
HC_TRACE_ERROR(WEBSOCKET, "Websocket [ID %llu]: Send failed = 0x%0.8x", websocketTask->m_websocketHandle->id, e->HResult);
return e->HResult;
}

return E_PENDING;
Expand Down

0 comments on commit 782890f

Please sign in to comment.