From 4f441340ea817da5f60ed53b9193e4d22a10672c Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 11 Feb 2024 08:25:11 -0500 Subject: [PATCH] Error handling for parsing of enum --- src/engine/gameManager/DbManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/gameManager/DbManager.java b/src/engine/gameManager/DbManager.java index 619e87ee..def73c1d 100644 --- a/src/engine/gameManager/DbManager.java +++ b/src/engine/gameManager/DbManager.java @@ -292,7 +292,7 @@ public enum DbManager { E enumConstant = java.lang.Enum.valueOf(enumClass, element); enumSet.add(enumConstant); } catch (Exception e) { - Logger.error(mysqlSet); + Logger.error(enumClass.getName() + " : " + mysqlSet); } }