rq-scheduler icon indicating copy to clipboard operation
rq-scheduler copied to clipboard

Traceback shown in log even when using custom exception handler

Open waldner opened this issue 5 years ago • 0 comments

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?

waldner avatar Oct 05 '20 13:10 waldner