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 aad481d commit 7cf4ee4Copy full SHA for 7cf4ee4
sentry_sdk/integrations/arq.py
@@ -214,7 +214,8 @@ def _sentry_create_worker(*args, **kwargs):
214
]
215
if hasattr(settings_cls, "cron_jobs"):
216
settings_cls.cron_jobs = [
217
- _get_arq_cron_job(cron_job) for cron_job in settings_cls.cron_jobs
+ _get_arq_cron_job(cron_job)
218
+ for cron_job in (settings_cls.cron_jobs or [])
219
220
221
if "functions" in kwargs:
0 commit comments