From: sapier Date: Sat, 6 Sep 2014 16:22:27 +0000 (+0200) Subject: Log unhandled exceptions in connectionthreads to errorstream X-Git-Tag: 0.4.11~290 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=62ea342ad1b725ac44a787c60388cbc8a1c383c5;p=minetest.git Log unhandled exceptions in connectionthreads to errorstream --- diff --git a/src/connection.cpp b/src/connection.cpp index bd0d872ca..ee5b1eb0b 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;