a more informative error message about missing configuration file
@@ -36,7 +36,7 @@ public abstract class BaseSettings {
_config.load();
}
catch (ConfigurationException e) {
- throw new BatfishException("Error loading configuration", e);
+ throw new BatfishException("Error loading configuration from " + configFile.toAbsolutePath(), e);
}
}
