From 5cf8d01148a3fd398d8567ba24720ad23010213f Mon Sep 17 00:00:00 2001 From: Andrey Date: Tue, 14 May 2024 22:12:57 -0400 Subject: [PATCH] only: nicer error message --- .../src/main/java/com/rusefi/VariableRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java_tools/enum_to_string/src/main/java/com/rusefi/VariableRegistry.java b/java_tools/enum_to_string/src/main/java/com/rusefi/VariableRegistry.java index fb89581693..1352a13748 100644 --- a/java_tools/enum_to_string/src/main/java/com/rusefi/VariableRegistry.java +++ b/java_tools/enum_to_string/src/main/java/com/rusefi/VariableRegistry.java @@ -78,7 +78,7 @@ public class VariableRegistry { if (ToolUtil.startsWithToken(line, DEFINE)) { processDefine(line.substring(DEFINE.length()).trim()); } else if (!ignoreUnexpectedLined) { - throw new IllegalStateException("Unexpected line while prepending: " + line); + throw new IllegalStateException("Unexpected line while prepending: [" + line + "]"); } } }