Along the lines of #18066, there's an opportunity for providing analogous improvements in StandardScriptEvaluator, replacing the rather convoluted ScriptException stacktrace output with a more focused evaluation error message.
On a related note, GroovyScriptEvaluator doesn't consistently catch and wrap exceptions coming out of Groovy eval calls, which should get revised along with StandardScriptEvaluator for reasonably equivalent output.
#18066 Improve error reporting for template rendering in ScriptTemplateView
#18069 Revise script engine retrieval for better error reporting
The text was updated successfully, but these errors were encountered: