mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-31 18:01:42 +00:00
Show filename on yaml error
This commit is contained in:
parent
d818f705ad
commit
91393e3180
1 changed files with 6 additions and 1 deletions
|
@ -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>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue