diff --git a/src/main/java/io/github/jack1424/realtimeweather/Configurator.java b/src/main/java/io/github/jack1424/realtimeweather/Configurator.java index 1d4029f..c91110a 100644 --- a/src/main/java/io/github/jack1424/realtimeweather/Configurator.java +++ b/src/main/java/io/github/jack1424/realtimeweather/Configurator.java @@ -191,7 +191,7 @@ public class Configurator { throw new ConfigurationException("The APIKey cannot be blank"); } catch (IOException | ParseException e) { - e.printStackTrace(); + rtw.getLogger().severe(e.getMessage()); throw new ConfigurationException("There was an error when validating this APIKey (this does not mean that the API key is invalid)"); }