feat: Improve logging of error messages #90

Merged
earl-warren merged 1 commit from vpotyarkin/act:feature/improve-error-logging into main 2025-01-09 10:29:17 +00:00
Contributor

Logging bare errors might lead to long troubleshooting sessions when error is not specific enough. This PR adds helpful context messages to logged errors.

Inspired by chasing a <nil> error failure in #87.

Logging bare errors might lead to long troubleshooting sessions when error is not specific enough. This PR adds helpful context messages to logged errors. Inspired by chasing a `<nil>` error failure in #87.
refactor: Improve logging of error messages
Some checks failed
checks / unit (pull_request) Successful in 1m43s
checks / integration (pull_request) Successful in 30s
/ cascade (pull_request_target) Failing after 22s
cf6eb354f5
Logging bare errors might lead to long troubleshooting sessions when error
is not specific enough. This commit adds helpful context messages to
logged errors.

Signed-off-by: Vitaliy Potyarkin <[email protected]>
Contributor

cascading-pr updated at forgejo/runner#419

cascading-pr updated at https://code.forgejo.org/forgejo/runner/pulls/419
viceice changed title from refactor: Improve logging of error messages to feat: Improve logging of error messages 2025-01-09 10:04:47 +00:00
earl-warren deleted branch feature/improve-error-logging 2025-01-09 10:29:17 +00:00
Commenting is not possible because the repository is archived.
No reviewers
No milestone
No project
No assignees
3 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forgejo/act!90
No description provided.