only: nicer error message

This commit is contained in:
Andrey 2024-05-14 22:12:57 -04:00
parent 2d2e3523cc
commit 5cf8d01148
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ public class VariableRegistry {
if (ToolUtil.startsWithToken(line, DEFINE)) { if (ToolUtil.startsWithToken(line, DEFINE)) {
processDefine(line.substring(DEFINE.length()).trim()); processDefine(line.substring(DEFINE.length()).trim());
} else if (!ignoreUnexpectedLined) { } else if (!ignoreUnexpectedLined) {
throw new IllegalStateException("Unexpected line while prepending: " + line); throw new IllegalStateException("Unexpected line while prepending: [" + line + "]");
} }
} }
} }