Skip to content

Commit

Permalink
fix: Print error message when failing to load config file (#914)
Browse files Browse the repository at this point in the history
It is useful when trying to figure out a first config file for a dev setup.
  • Loading branch information
nertpinx committed May 11, 2021
1 parent eb2edaf commit 9ebda7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Configuration {

this.persist();
} catch (e) {
Logger.error("Invalid configuration file!");
Logger.error("Invalid configuration file: ", e.message);
Logger.info("Writing new file using defaults");

try {
Expand Down

0 comments on commit 9ebda7e

Please sign in to comment.