Skip to content
Snippets Groups Projects
Commit e5e65f3e authored by Qinusty's avatar Qinusty Committed by Tristan Van Berkom
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 61273070
No related branches found
No related tags found
1 merge request!575Tristan/temporary failures backport
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment