Browse Source

Error handling for parsing of enum

combat-2
MagicBot 9 months ago
parent
commit
8f88da6016
  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(enumClass.getName() + " : " + mysqlSet);
Logger.error(enumClass.getCanonicalName() + " : " + mysqlSet);
}
}

Loading…
Cancel
Save