Browse Source

Error handling for parsing of enum

combat-2
MagicBot 9 months ago
parent
commit
4f441340ea
  1. 2
      src/engine/gameManager/DbManager.java

2
src/engine/gameManager/DbManager.java

@ -292,7 +292,7 @@ public enum DbManager {
E enumConstant = java.lang.Enum.valueOf(enumClass, element); E enumConstant = java.lang.Enum.valueOf(enumClass, element);
enumSet.add(enumConstant); enumSet.add(enumConstant);
} catch (Exception e) { } catch (Exception e) {
Logger.error(mysqlSet); Logger.error(enumClass.getName() + " : " + mysqlSet);
} }
} }

Loading…
Cancel
Save