From 7f086fb850b2ee5dfe574f3ee2cc10e485c0a37c Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 12 May 2023 08:15:25 -0400 Subject: [PATCH] Improved error logging. --- src/engine/objects/NPC.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/NPC.java b/src/engine/objects/NPC.java index e7a8fe85..aec22e57 100644 --- a/src/engine/objects/NPC.java +++ b/src/engine/objects/NPC.java @@ -256,7 +256,7 @@ public class NPC extends AbstractCharacter { try{ initializeNPC(); }catch(Exception e){ - Logger.error( e.toString()); + Logger.error("NPC: " + this.dbID + " :" + e); } }