Log unhandled exceptions in connectionthreads to errorstream
authorsapier <Sapier at GMX dot net>
Sat, 6 Sep 2014 16:22:27 +0000 (18:22 +0200)
committersapier <Sapier at GMX dot net>
Sat, 6 Sep 2014 16:22:27 +0000 (18:22 +0200)
src/connection.cpp

index bd0d872caf5a3f08c00b7825e5746b2a3181d973..ee5b1eb0baa284ca54d7e5ab286ec6772dbab9c5 100644 (file)
@@ -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;