From 51b93600e630eb8154b6e9486432b92080e3a418 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Tue, 15 Oct 2013 00:47:13 +0200 Subject: [PATCH] * Session - Added additional information for exception. --- Mage.Server/src/main/java/mage/server/Session.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Server/src/main/java/mage/server/Session.java b/Mage.Server/src/main/java/mage/server/Session.java index 5c346a1fa2..373d376b24 100644 --- a/Mage.Server/src/main/java/mage/server/Session.java +++ b/Mage.Server/src/main/java/mage/server/Session.java @@ -174,7 +174,7 @@ public class Session { call.setMessageId(messageId++); callbackHandler.handleCallbackOneway(new Callback(call)); } catch (HandleCallbackException ex) { - logger.fatal("Session fireCallback error: " + ex.getMessage(), ex); + logger.fatal(new StringBuilder("Session of userId ").append(userId).append(" fireCallback error: ").append(ex.getMessage()).toString(), ex); disconnect(); } }