Logging corrected in TextsManager. See merge request morningstar/Arcturus-Community!235

This commit is contained in:
xjoao 2020-10-07 10:29:36 -04:00 committed by Beny
parent 62ab54a3e3
commit 13ac1c9cef

View File

@ -72,7 +72,7 @@ public class TextsManager {
public int getInt(String key, Integer defaultValue) { public int getInt(String key, Integer defaultValue) {
try { try {
return Integer.parseInt(this.getValue(key, defaultValue.toString())); return Integer.parseInt(this.getValue(key, defaultValue.toString()));
} catch (Exception e) { } catch (NumberFormatException e) {
LOGGER.error("Caught exception", e); LOGGER.error("Caught exception", e);
} }
return defaultValue; return defaultValue;