Skip to content

Commit 62ea342

Browse files
sapiersapier
sapier
authored and
sapier
committedSep 6, 2014
Log unhandled exceptions in connectionthreads to errorstream
1 parent 944e79d commit 62ea342

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/connection.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1300,7 +1300,7 @@ void * ConnectionSendThread::Thread()
13001300
/* send non reliable packets */
13011301
sendPackets(dtime);
13021302

1303-
END_DEBUG_EXCEPTION_HANDLER(derr_con);
1303+
END_DEBUG_EXCEPTION_HANDLER(errorstream);
13041304
}
13051305

13061306
PROFILE(g_profiler->remove(ThreadIdentifier.str()));
@@ -2085,7 +2085,7 @@ void * ConnectionReceiveThread::Thread()
20852085
}
20862086
}
20872087
#endif
2088-
END_DEBUG_EXCEPTION_HANDLER(derr_con);
2088+
END_DEBUG_EXCEPTION_HANDLER(errorstream);
20892089
}
20902090
PROFILE(g_profiler->remove(ThreadIdentifier.str()));
20912091
return NULL;

0 commit comments

Comments
 (0)
Please sign in to comment.