Permalink
Browse files

Use new lines when listing multiple include compile exceptions

  • Loading branch information...
PseudoKnight committed Apr 7, 2018
1 parent f8fd570 commit 550706d2e9ada24fbf01b75ff62168e993ea9f5e
@@ -59,7 +59,8 @@ public static ParseTree get(File file, Target t) {
StringBuilder b = new StringBuilder();
b.append("There were compile errors when trying to include the script at ").append(file).append("\n");
for(ConfigCompileException e : ex.getList()) {
b.append(e.getMessage()).append(" :: ").append(e.getFile().getName()).append(":").append(e.getLineNum());
b.append(e.getMessage()).append(" :: ").append(e.getFile().getName()).append(":")
.append(e.getLineNum()).append("\n");
}
throw new CREIncludeException(b.toString(), t);
} catch(IOException ex) {
@@ -657,7 +657,8 @@ private ParseTree compileFile(File file, Target t) {
StringBuilder b = new StringBuilder();
b.append("There were compile errors when trying to recompile the script at ").append(file).append("\n");
for(ConfigCompileException e : ex.getList()) {
b.append(e.getMessage()).append(" :: ").append(e.getFile().getName()).append(":").append(e.getLineNum());
b.append(e.getMessage()).append(" :: ").append(e.getFile().getName()).append(":")
.append(e.getLineNum()).append("\n");
}
throw new CREIncludeException(b.toString(), t);
} catch(IOException ex) {

0 comments on commit 550706d

Please sign in to comment.