Better explain stack overflow error

This commit is contained in:
crschnick
2024-02-17 17:44:03 +00:00
parent 6bd96f6433
commit 886eb00a65

View File

@@ -50,6 +50,8 @@ public abstract class ScriptStore extends JacksonizedValue implements DataStore,
}
});
return pc;
} catch (StackOverflowError t) {
throw new RuntimeException("Unable to set up scripts. Is there a circular script dependency?", t);
} catch (Throwable t) {
throw new RuntimeException("Unable to set up scripts", t);
}