getsentry / getsentry/sentry-ruby
Feedback wanted - Add `at_exit` hook for auto exception capturing in scripts
- Dominant language
- Ruby
- Stars
- 987
- Forks
- 541
- Avg merge
- 17h 40m
- Merged PRs (30d)
- 19
Description
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).
Contributor guide
Research direction
Review the current automatic exception-capturing behavior for rake/rails applications, then compare the linked Raven implementation and Python AtExitIntegration. The issue is seeking feedback rather than defining an implementation; work is not complete until the desired behavior and scope for one-time scripts and other Ruby applications are agreed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100