mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-04-24 08:31:39 -04:00
Better explain stack overflow error
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user