slawekjaranowski commented on code in PR #87:
URL:
https://github.com/apache/maven-script-interpreter/pull/87#discussion_r1042577814
##########
src/main/java/org/apache/maven/shared/scriptinterpreter/GroovyScriptInterpreter.java:
##########
@@ -67,16 +65,8 @@ public Object evaluateScript(
new Binding(globalVariables),
new CompilerConfiguration(CompilerConfiguration.DEFAULT));
- try {
- return interpreter.evaluate(script);
- } catch (ThreadDeath e) {
- throw e;
- } catch (PowerAssertionError e) {
- throw new ScriptEvaluationException("Assertion Error", e);
Review Comment:
I added it in
https://github.com/apache/maven-script-interpreter/pull/14/files
Now I don't remember exactly why 😄
please check how assertions error will be reported by invoker
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]