You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/12/07 07:22:40 UTC

[GitHub] [maven-script-interpreter] slawekjaranowski commented on a diff in pull request #87: catch this error to give more groovy error details

slawekjaranowski commented on code in PR #87:
URL: https://github.com/apache/maven-script-interpreter/pull/87#discussion_r1041842648


##########
src/main/java/org/apache/maven/shared/scriptinterpreter/GroovyScriptInterpreter.java:
##########
@@ -78,6 +78,8 @@ public Object evaluateScript(
             }
         } catch (IOException e) {
             throw new ScriptEvaluationException(e);
+        } catch (Throwable e) {
+            throw new ScriptEvaluationException(e);

Review Comment:
   Does this wrap again exception from line: 75, 77 ?



-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org