Log unhandled exceptions in connectionthreads to errorstream

master
sapier 2014-09-06 18:22:27 +02:00
parent 944e79d7a6
commit 62ea342ad1
1 changed files with 2 additions and 2 deletions

View 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;