mirror of
https://github.com/lightbend/config.git
synced 2025-03-23 07:40:25 +08:00
When config.trace=loads, log IOException for each load
This commit is contained in:
parent
daa893d206
commit
a233ac9332
@ -173,6 +173,8 @@ public abstract class Parseable implements ConfigParseable {
|
||||
if (finalOptions.getAllowMissing()) {
|
||||
return SimpleConfigObject.emptyMissing(origin);
|
||||
} else {
|
||||
trace("exception loading " + origin.description() + ": " + e.getClass().getName()
|
||||
+ ": " + e.getMessage());
|
||||
throw new ConfigException.IO(origin, e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user