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

Custom exception handler not called

Open oliverbienert opened this issue 6 years ago • 2 comments

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.

oliverbienert avatar Nov 15 '18 00:11 oliverbienert

will it be fixed?

qxrftz avatar Dec 04 '20 13:12 qxrftz

May be related to #459.

dapicester avatar Dec 13 '21 10:12 dapicester