Skip to content

Log only the message of a failed command at error level - #568

Merged
slachiewicz merged 1 commit into
masterfrom
agent/log-message-not-stack-trace
Nov 9, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/log-message-not-stack-trace

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

When the executable fails, the build log now shows the ExecuteException message at error level and keeps the stack trace for debug level (-X); the MojoExecutionException still carries the cause. The timeout case is unchanged.

Closes #114

Verified: mvn verify -Prun-its -Dinvoker.test=setup-parent,exec_special-args → 53 unit tests and the IT pass; the new test fails without the fix

@slachiewicz slachiewicz added the bug Something isn't working label Nov 8, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review November 8, 2026 22:59
@slachiewicz
slachiewicz force-pushed the agent/log-message-not-stack-trace branch from eff3585 to 97c8524 Compare November 8, 2026 23:35
@slachiewicz
slachiewicz merged commit 426e05d into master Nov 9, 2026
15 checks passed
@slachiewicz
slachiewicz deleted the agent/log-message-not-stack-trace branch November 9, 2026 07:10
@github-actions github-actions Bot added this to the 3.6.5 milestone Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cant prevent the display of the plugin stack trace

1 participant