aboutsummaryrefslogtreecommitdiff
path: root/src/connection.cpp
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2014-09-06 18:22:27 +0200
committersapier <Sapier at GMX dot net>2014-09-06 18:22:27 +0200
commit62ea342ad1b725ac44a787c60388cbc8a1c383c5 (patch)
tree4cdc8d82df94ac810603d72ae7ae47809f239f1e /src/connection.cpp
parent944e79d7a6bc9b80210e12f9e96ea37c37703910 (diff)
downloadminetest-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.cpp4
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;