Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traceback shown in log even when using custom exception handler #253

Open
waldner opened this issue Oct 5, 2020 · 0 comments
Open

Traceback shown in log even when using custom exception handler #253

waldner opened this issue Oct 5, 2020 · 0 comments

Comments

@waldner
Copy link

waldner commented Oct 5, 2020

Task:

def f():
    raise Exception("I should not see this!")

I run the worker with rq worker --url=redis://redis:6379 --with-scheduler --name=worker1 --exception-handler=app.my_exception_handler -d and when I enqueue and run f() my custom exception handler is invoked, but I still see f's traceback in the log. Is this expected?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant