Skip to content

Arq integration ignores functions and cron jobs passed as keyword arguments #2306

@rossmacarthur

Description

@rossmacarthur

How do you use Sentry?

Sentry Saas (sentry.io)

Version

1.29.2

Steps to Reproduce

arq allows you to pass the functions as a keyword argument, not just defining on the WorkerSettings class.

async def my_coroutine(state):
    pass

arq.run_worker(object(), functions=[my_coroutine])

Expected Result

Unhandled errors in my_coroutine should be sent to sentry

Actual Result

Errors are not sent to Sentry

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions