mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2025-05-05 03:34:05 +02:00
Log exceptions caught in RPC thread
This commit is contained in:
parent
33de01f564
commit
89e67e1690
@ -43,7 +43,11 @@ public abstract class RpcRuntime<TSocket> where TSocket : ThreadSafeSocket, new(
|
||||
Connect(socket);
|
||||
|
||||
void RunTask() {
|
||||
Run(socket, replyTracker, taskManager);
|
||||
try {
|
||||
Run(socket, replyTracker, taskManager);
|
||||
} catch (Exception e) {
|
||||
runtimeLogger.Error(e, "Caught exception in RPC thread.");
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user