filecoin-station / core

Station is a visionary network that connects your computer's idle resources to the Filecoin network and rewards you with FIL
https://filstation.app
Other
27 stars 8 forks source link

fix: don't report SIGTERM & friends to Sentry #587

Closed bajtos closed 4 weeks ago

bajtos commented 1 month ago

When Zinniad is killed via SIGTERM/SIGKILL/SIGINT, don't report the error to Sentry.

These signal codes are triggered when somebody terminates the process from outside. It's not a problem in Zinnia, there is nothing we can do about this.

Before:

ERROR Spark crashed via signal SIGTERM
Reporting the problem to Sentry for inspection by the Station team.
Zinnia main loop ended
Starting zinniad with config CliArgs { /* ... */ }

After:

ERROR Spark crashed via signal SIGTERM
Zinnia main loop ended
Starting zinniad with config CliArgs { /* ... */ }

The Sentry issue:

bajtos commented 1 month ago

@juliangruber ready for the (final?🤞🏻) review