Skip to content
Commit cb62e4c2 authored by Qinusty's avatar Qinusty
Browse files

_exceptions.py: Modify BstError API to allow optional retry

job.py: Changes to the logic surrounding retry attempts and child process return codes
element.py, source.py: ElementError and SourceError also implement this change.

These exceptions now have an optional parameter of temporary which defaults to false. This will potentially break
backwards compatibility where exceptions were previously raised and a retry was intended.

To trigger a retry, one must now raise their SourceError or ElementError with temporary=True.

This aims to fix #397.
parent 94414f5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment