From fafd77c661ed1e52308bd420b4b8b5bf0c1b1887 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 12 May 2023 08:09:17 -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 c6470168..e7a8fe85 100644 --- a/src/engine/objects/NPC.java +++ b/src/engine/objects/NPC.java @@ -249,7 +249,7 @@ public class NPC extends AbstractCharacter { this.name += " the " + this.contract.getName(); }catch(Exception e){ - Logger.error(e); + Logger.error("NPC: " + this.dbID + " :" + e); e.printStackTrace(); }