zulip/zproject
Alex Vandiver 83645a3115 sentry: Ignore SystemExit and similar exceptions.
There are three exceptions in Python3 which are descended from
BaseException, but not Exception: GeneratorExit, KeyboardInterrupt,
and SystemExit.  None of these are suitable to be sent to Sentry.
For example, SystemExit is raised by `sys.exit`; in that sense, it is
never "uncaught" because we chose to cause it explicitly.

Use the suggested form[1] for ignoring specific classes of exceptions.

[1] https://github.com/getsentry/sentry-python/issues/149#issuecomment-434448781
2020-08-09 16:49:12 -07:00
..
jinja2 python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
__init__.py
backends.py auth: Treat emails case-insensitively in ExternalAuthResult. 2020-08-05 11:40:35 -07:00
computed_settings.py memcached: Switch from pylibmc to python-binary-memcached. 2020-08-06 12:51:14 -07:00
config.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
configured_settings.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
default_settings.py apple_auth: Change BUNDLE_ID setting to APP_ID everywhere. 2020-07-28 17:12:49 -07:00
dev_settings.py dev_settings: Add EMAIL_PORT setting in zproject/dev_settings.py. 2020-08-04 11:03:40 -07:00
dev_urls.py urls: Migrate dev urls to use modern django patterns. 2020-06-23 15:02:44 -07:00
email_backends.py dev_settings: Add EMAIL_PORT setting in zproject/dev_settings.py. 2020-08-04 11:03:40 -07:00
legacy_urls.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
prod_settings_template.py apple_auth: Change BUNDLE_ID setting to APP_ID everywhere. 2020-07-28 17:12:49 -07:00
sentry.py sentry: Ignore SystemExit and similar exceptions. 2020-08-09 16:49:12 -07:00
settings.py python: Add noqa comments for the specific star imports we allow. 2020-06-11 15:36:43 -07:00
terms.md.template Add TERMS_OF_SERVICE setting. 2016-07-29 20:47:31 -07:00
test_extra_settings.py apple_auth: Change BUNDLE_ID setting to APP_ID everywhere. 2020-07-28 17:12:49 -07:00
test_settings.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
urls.py drafts: Add an API endpoint for fetching drafts. 2020-07-28 17:18:35 -07:00
wsgi.py wsgi: Try to avoid extra django.setup calls. 2020-06-18 20:16:34 -07:00