mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-28 20:17:49 +01:00
Show filename on yaml error
This commit is contained in:
parent
d818f705ad
commit
91393e3180
@ -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)
|
if (this.root == null)
|
||||||
{
|
{
|
||||||
this.root = new HashMap<String, Object>();
|
this.root = new HashMap<String, Object>();
|
||||||
|
Loading…
Reference in New Issue
Block a user