mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-06 14:46:32 +02:00
Show filename on yaml error
This commit is contained in:
@@ -68,7 +68,12 @@ public class EssentialsConf extends Configuration
|
||||
}
|
||||
}
|
||||
}
|
||||
super.load();
|
||||
try {
|
||||
super.load();
|
||||
} catch(RuntimeException e) {
|
||||
logger.log(Level.INFO, "File: " + configFile.toString());
|
||||
throw e;
|
||||
}
|
||||
if (this.root == null)
|
||||
{
|
||||
this.root = new HashMap<String, Object>();
|
||||
|
Reference in New Issue
Block a user