From 8f88da6016d01615f5d41f973de1e7f330109da0 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 11 Feb 2024 08:27:48 -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 def73c1d..3402615b 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(enumClass.getName() + " : " + mysqlSet); + Logger.error(enumClass.getCanonicalName() + " : " + mysqlSet); } }