From 62ea342ad1b725ac44a787c60388cbc8a1c383c5 Mon Sep 17 00:00:00 2001 From: sapier Date: Sat, 6 Sep 2014 18:22:27 +0200 Subject: [PATCH] Log unhandled exceptions in connectionthreads to errorstream --- src/connection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/connection.cpp b/src/connection.cpp index bd0d872c..ee5b1eb0 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -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())); @@ -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;