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

Improve Github Action logging #359

Open
smcalilly opened this issue Jan 29, 2024 · 0 comments
Open

Improve Github Action logging #359

smcalilly opened this issue Jan 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@smcalilly
Copy link
Contributor

smcalilly commented Jan 29, 2024

Description

Sometimes a GitHub action build will fail and the problematic error message is buried deep in the action logs. This makes it harder to find the cause of the build failure, unless you've been burned by this before and know to comb through each line in the log.

We need to research GitHub action logging to see if there's a setting or best practice to elevate these error messages.

For example, this build failure prompted me to open this issue. In the action logs, search E722 do not use bare 'except'. It isn't obvious that this error caused the action to fail — that line is buried in the logs, one would expect it to be red and bold and maybe even the last line in the logs, or at least have the last line in the logs tell us about this error instead of giving the generic 1 failure code.

@smcalilly smcalilly added the bug Something isn't working label Jan 29, 2024
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

No branches or pull requests

1 participant