updated setAPIKey exception logging to a more "robust" method

This commit is contained in:
Jack
2024-06-26 22:35:12 -04:00
parent cdb6d057e4
commit 4543087258

View File

@@ -191,7 +191,7 @@ public class Configurator {
throw new ConfigurationException("The APIKey cannot be blank"); throw new ConfigurationException("The APIKey cannot be blank");
} }
catch (IOException | ParseException e) { 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)"); throw new ConfigurationException("There was an error when validating this APIKey (this does not mean that the API key is invalid)");
} }