In class ScriptRunner when exception occur during script evaluate message from cause exception is propagated to generated exception.
For groovy we have many details in message so if client library logs message from exception it is redundant.
This datailed is stored in log file from execution. So if somebody also print content of logs, as maven-infoker with streamLogs, we have duplicated messages.
This details is stored in log file from execution. So if somebody also print content of logs, as maven-invoker-plugin does with streamsLogs options, we have duplicate messages.
Code to change:
msg variable and her usage should be removed.