mirror of https://github.com/rusefi/rusefi.git
only: better error handling
This commit is contained in:
parent
9a782c0b5a
commit
aaad4128c4
|
@ -165,7 +165,7 @@ public class LuaScriptPanel {
|
|||
try {
|
||||
return Files.readString(new File(includeFullName).toPath());
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
return "ERROR reading " + name + ": " + e.getMessage();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue