← Back to team overview

openerp-connector-community team mailing list archive

How can a job indicate it failed, and should be rescheduled?

 

Hi,

I do not see documented if a job can give a return value for failed.
Also, from what I understand in worker.py, any return values are ignored.

Is the recommended way to raise an exception, like

  raise ValueError('A very specific bad thing happened')

Thanks,
Ron

Follow ups