mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-11 16:07:48 +00:00
better config error logging
This commit is contained in:
1 file changed
+3
-1
@@ -122,7 +122,9 @@ public class ConfigValidationFailureEvent extends Event {
|
||||
errorString.append("\nArray index: ").append(listIndex);
|
||||
}
|
||||
customText(errorString);
|
||||
FalsePatternLib.getLog().error(errorString.toString());
|
||||
for (val line: errorString.toString().split("\n")) {
|
||||
FalsePatternLib.getLog().error(line);
|
||||
}
|
||||
}
|
||||
|
||||
@StableAPI(since = "0.10.0")
|
||||
|
||||
Reference in new issue
Block a user