Skip to content

Commit

Permalink
Log unhandled exceptions in connectionthreads to errorstream
Browse files Browse the repository at this point in the history
  • Loading branch information
sapier authored and sapier committed Sep 6, 2014
1 parent 944e79d commit 62ea342
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/connection.cpp
Expand Up @@ -1300,7 +1300,7 @@ void * ConnectionSendThread::Thread()
/* send non reliable packets */
sendPackets(dtime);

END_DEBUG_EXCEPTION_HANDLER(derr_con);
END_DEBUG_EXCEPTION_HANDLER(errorstream);
}

PROFILE(g_profiler->remove(ThreadIdentifier.str()));
Expand Down Expand Up @@ -2085,7 +2085,7 @@ void * ConnectionReceiveThread::Thread()
}
}
#endif
END_DEBUG_EXCEPTION_HANDLER(derr_con);
END_DEBUG_EXCEPTION_HANDLER(errorstream);
}
PROFILE(g_profiler->remove(ThreadIdentifier.str()));
return NULL;
Expand Down

0 comments on commit 62ea342

Please sign in to comment.