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

Error reporting improvements #23

Merged
merged 3 commits into from
Nov 19, 2024
Merged

Error reporting improvements #23

merged 3 commits into from
Nov 19, 2024

Conversation

unflxw
Copy link
Contributor

@unflxw unflxw commented Nov 18, 2024

Report error when process fails to start

When starting the child process fails and error reporting is enabled,
report the failure to start the process as an error to AppSignal.

Fixes #22.

Fix warnings to account for --error

Using --no-log without either --cron or --heartbeat is now a
reasonable usage if --error is in the mix.

Add command as tag for error and logs

Add the command that was ran as the child process as a tag in the
errors reported to AppSignal, and as an attribute on the log lines
that are sent to AppSignal.

Fixes #21.

Screenshot 2024-11-18 at 14 23 01

@backlog-helper
Copy link

backlog-helper bot commented Nov 18, 2024

✔️ All good!

New issue guide | Backlog management | Rules | Feedback

When starting the child process fails and error reporting is enabled,
report the failure to start the process as an error to AppSignal.

Fixes #22.
Using `--no-log` without either `--cron` or `--heartbeat` is now a
reasonable usage if `--error` is in the mix.
Add the command that was ran as the child process as a tag in the
errors reported to AppSignal, and as an attribute on the log lines
that are sent to AppSignal.

Fixes #21.
@unflxw unflxw force-pushed the error-reporting-improvements branch from 81a3be6 to c7cc139 Compare November 18, 2024 13:48
@unflxw unflxw mentioned this pull request Nov 18, 2024
@unflxw unflxw merged commit fa7dcd9 into main Nov 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Report error on startup to AppSignal Add command-line invocation as contextual information
2 participants