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

Display exception details when commands fail (INFRA-140) #21

Open
Piedone opened this issue Feb 9, 2023 · 1 comment
Open

Display exception details when commands fail (INFRA-140) #21

Piedone opened this issue Feb 9, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Piedone
Copy link
Member

Piedone commented Feb 9, 2023

Currently, commands have a pattern of catching exceptions, displaying an error message, then rethrowing the exception. See e.g. here or here.

When executed from a PS script, this results in outputs like this:

image

You see the error message, but no details.

I'd be better to also display the exception details in each of these cases, so you have a better chance of debugging the issue.

Jira issue

@Piedone Piedone added the enhancement New feature or request label Feb 9, 2023
@github-actions github-actions bot changed the title Display exception details when commands fail Display exception details when commands fail (INFRA-140) Feb 9, 2023
@Piedone
Copy link
Member Author

Piedone commented Sep 2, 2024

A similar error, without the details that the error message refers to:
image

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

No branches or pull requests

1 participant