[Sugguestion] Allow users to suppress Script Errors to the Console
leumasme opened this issue ยท 1 comments
Adds a Value to the Config: suppress-errors: true/false ; false by default, can be changed to true to hide script execution errors from /js and plugins
This needs to be done in the Java wrapper who logs all the exception : https://github.com/walterhiggins/ScriptCraft/blob/master/src/main/java/bukkit/org/scriptcraftjs/bukkit/ScriptCraftPlugin.java#L78
But I don't think it's a wise idea to remove error logging, sometimes it's the only way to find there is an issue in your code (e.g when you make an event without catching the exceptions, it goes directly to the server console)