getsentry / getsentry/sentry-ruby

Feedback wanted - Add `at_exit` hook for auto exception capturing in scripts

Aperta
#1,733 5 commenti 5 reazioni 0 assegnatari Vedi su GitHub
Discussion Errors Feature Ruby
Lingua principale
Ruby
Stelle
987
Fork
541
Merge medio
17h 40m
PR unite (30g)
19

Descrizione

Currently, automatic capturing only works in rake/rails applications.
We want to see if users also want out of the box exception capturing in one-time scripts and other ruby applications.

Raven had this [here](https://github.com/getsentry/sentry-ruby/blob/ee5eadc34187521259044ce548107a7e48711b0d/sentry-raven/lib/raven/instance.rb#L235-L243) and python has [`AtExitIntegration`](https://github.com/getsentry/sentry-python/blob/master/sentry_sdk/integrations/atexit.py).

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.