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 { @@ -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);
}
}

Loading…
Cancel
Save