only: better error handling

This commit is contained in:
rusefillc 2024-02-15 17:38:36 -05:00
parent 9a782c0b5a
commit aaad4128c4
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}
});