django-rq
django-rq copied to clipboard
Custom exception handler not called
Hello,
The function rq/handle_exception
does not get called to walk the exception handler stack.
This is what I see just after the job crashes:
terminate called after throwing an instance of 'std::runtime_error'
what(): cairo: out of memory
23:38:17 Moving job to u'failed' queue (work-horse terminated unexpectedly; waitpid returned 134)
The job itself should render a map using mapnik which in turn uses cairo. Can someone please shed a bit light on this? I need the exception handling because I don't want to requeue the job but set a status in database table to be fetched by remote application.
will it be fixed?
May be related to #459.