Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hooks] Expose stacktrace to command/script hooks #1535

Closed
aalmiray opened this issue Nov 20, 2023 · 1 comment
Closed

[hooks] Expose stacktrace to command/script hooks #1535

aalmiray opened this issue Nov 20, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request released Issue has been released
Milestone

Comments

@aalmiray
Copy link
Member

Is your feature request related to a problem? Please describe.
Command/script hooks do not have access to the cause of a failure.

Describe the solution you'd like
Add a getStacktrace() method to org.jreleaser.model.api.hooks.ExecutionEvent that returns the full stacktrace (when available) as a java.lang.String.

@aalmiray aalmiray added the enhancement New feature or request label Nov 20, 2023
@aalmiray aalmiray added this to the v1.10.0 milestone Nov 20, 2023
@aalmiray aalmiray self-assigned this Nov 22, 2023
aalmiray added a commit to jreleaser/jreleaser.github.io that referenced this issue Nov 22, 2023
aalmiray added a commit to jreleaser/jreleaser.github.io that referenced this issue Dec 23, 2023
@aalmiray aalmiray added the released Issue has been released label Dec 31, 2023
@aalmiray
Copy link
Member Author

🎉 This issue has been resolved in v1.10.0 (Release Notes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released Issue has been released
Projects
None yet
Development

No branches or pull requests

1 participant