diff --git a/src/engine/gameManager/DbManager.java b/src/engine/gameManager/DbManager.java index a5abbdb0..619e87ee 100644 --- a/src/engine/gameManager/DbManager.java +++ b/src/engine/gameManager/DbManager.java @@ -288,8 +288,12 @@ public enum DbManager { // Parse the element into an enum; add to the output set - E enumConstant = java.lang.Enum.valueOf(enumClass, element); - enumSet.add(enumConstant); + try { + E enumConstant = java.lang.Enum.valueOf(enumClass, element); + enumSet.add(enumConstant); + } catch (Exception e) { + Logger.error(mysqlSet); + } } // Return the output set