We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d23b72 commit f31403bCopy full SHA for f31403b
sentry_sdk/integrations/arq.py
@@ -204,7 +204,7 @@ def _sentry_create_worker(*args, **kwargs):
204
if "cron_jobs" in settings_cls:
205
settings_cls["cron_jobs"] = [
206
_get_arq_cron_job(cron_job)
207
- for cron_job in settings_cls["cron_jobs"]
+ for cron_job in settings_cls.get("cron_jobs", [])
208
]
209
210
if hasattr(settings_cls, "functions"):
0 commit comments