Skip to content

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

Closed

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

Activity

  1. moved this to Waiting for: Product Owner in GitHub Issues with 👀on Aug 13, 2023
  2. sentrivana commented on Aug 16, 2023

    @sentrivana
    Collaborator

    Thanks for this report and fix as well! :)

  3. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀on Aug 16, 2023
  4. ghost added on Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions