only: nicer error message
This commit is contained in:
parent
2d2e3523cc
commit
5cf8d01148
|
@ -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 + "]");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue