You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working with the ARQ integration, if you set cron_jobs to None in your settings the sentry-sdk will crash with the following:
| File "/app/.venv/lib/python3.12/site-packages/sentry_sdk/integrations/arq.py", line 209, in _sentry_create_worker │
│ for cron_job in settings_cls["cron_jobs"] │
│ ~~~~~~~~~~~~^^^^^^^^^^^^^
| TypeError: 'NoneType' object is not iterable
This was introduced in #3742 and the fix could simply be to check if cron_jobs is present (like now) and not None.
Expected Result
Sentry SDK should initialize correctly and integrate with ARQ
Actual Result
| File "/app/.venv/lib/python3.12/site-packages/sentry_sdk/integrations/arq.py", line 209, in _sentry_create_worker │
│ for cron_job in settings_cls["cron_jobs"] │
│ ~~~~~~~~~~~~^^^^^^^^^^^^^
| TypeError: 'NoneType' object is not iterable
The text was updated successfully, but these errors were encountered:
How do you use Sentry?
Self-hosted/on-premise
Version
2.19.0
Steps to Reproduce
When working with the ARQ integration, if you set
cron_jobs
toNone
in your settings the sentry-sdk will crash with the following:This was introduced in #3742 and the fix could simply be to check if
cron_jobs
is present (like now) and notNone
.Expected Result
Sentry SDK should initialize correctly and integrate with ARQ
Actual Result
The text was updated successfully, but these errors were encountered: