diff options
author | sapier <Sapier at GMX dot net> | 2014-09-06 18:22:27 +0200 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2014-09-06 18:22:27 +0200 |
commit | 62ea342ad1b725ac44a787c60388cbc8a1c383c5 (patch) | |
tree | 4cdc8d82df94ac810603d72ae7ae47809f239f1e /src/connection.cpp | |
parent | 944e79d7a6bc9b80210e12f9e96ea37c37703910 (diff) | |
download | minetest-62ea342ad1b725ac44a787c60388cbc8a1c383c5.tar.gz minetest-62ea342ad1b725ac44a787c60388cbc8a1c383c5.tar.bz2 minetest-62ea342ad1b725ac44a787c60388cbc8a1c383c5.zip |
Log unhandled exceptions in connectionthreads to errorstream
Diffstat (limited to 'src/connection.cpp')
-rw-r--r-- | src/connection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |