I'm running a job using rq with q.enqueue_call(...)
and in this job I'm raising an exception with raise Exception('URL not found')
I was wondering how one would get the exception message from this job ('URL not found') after the job has failed.
I can get the stack trace with
print(get_failed_queue(connection=conn).jobs[-1].exc_info)
though can't seem to get the short error message itself.
I thought job.result
(after getting the job with job = Job.fetch(job_key, connection=conn)
) would work though this returns None