From 4c4a909798ed300b06f10b537946b21910099f89 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 18 May 2023 07:54:04 -0400 Subject: [PATCH] Error logging added. --- src/engine/db/handlers/dbRunegateHandler.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/db/handlers/dbRunegateHandler.java b/src/engine/db/handlers/dbRunegateHandler.java index 86d1c575..c0cc5b01 100644 --- a/src/engine/db/handlers/dbRunegateHandler.java +++ b/src/engine/db/handlers/dbRunegateHandler.java @@ -13,6 +13,7 @@ import engine.Enum; import engine.gameManager.DbManager; import engine.objects.Building; import engine.objects.Portal; +import org.pmw.tinylog.Logger; import java.sql.ResultSet; import java.sql.SQLException; @@ -62,6 +63,7 @@ public class dbRunegateHandler extends dbHandlerBase { } } catch (SQLException e) { + Logger.error("Exception while loading runegate portals: " + e); } finally { closeCallable(); }