mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-08 07:36:42 +02:00
Show filename on yaml error
This commit is contained in:
@@ -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>();
|
||||||
|
Reference in New Issue
Block a user