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

Include error stack trace in summary #58

Open
dboriichuk opened this issue Sep 20, 2024 · 2 comments
Open

Include error stack trace in summary #58

dboriichuk opened this issue Sep 20, 2024 · 2 comments

Comments

@dboriichuk
Copy link

Currently, when "output-to" input is set to "step-summary", there is no way to see stack traces of detected errors, as such information is contained only in "Annotation Raw output" button.
While this button is available only in "Check" page.

I would like to suggest either have additional input to select if need error message or error details displayed in "Summary" page.

The logic responsible for this is located here
const lines = (tc.error.message ?? getFirstNonEmptyLine(tc.error.details)?.trim())
The goal is to have tc.error.details by default.

@IanMoroney
Copy link
Contributor

Thank you @dboriichuk , i'd be more than happy to review and approve a PR with the recommended changes. Would you be interested in submitting a PR that includes the functionality that you're looking for?

@dboriichuk
Copy link
Author

@IanMoroney
Could you please review this PR?
#61

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

No branches or pull requests

2 participants