getsentry / getsentry/sentry-ruby

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

Open
#1,733 5 comments 5 reactions 0 assignees View on GitHub
Discussion Errors Feature Ruby
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.