mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-05 12:02:53 +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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
super.load();
|
super.load();
|
||||||
|
} catch(RuntimeException e) {
|
||||||
|
logger.log(Level.INFO, "File: " + configFile.toString());
|
||||||
|
throw e;
|
||||||
|
}
|
||||||
if (this.root == null)
|
if (this.root == null)
|
||||||
{
|
{
|
||||||
this.root = new HashMap<String, Object>();
|
this.root = new HashMap<String, Object>();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue