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

Add SkipError for indicating a skipped activity

SkipError can now be raised within the context of a timed_activity() to
trigger a SKIPPED message instead of a FAILURE message.

This changes the previous usage of SKIPPED within messages to use the
INFO MessageType (used within cascache.py).

Element._pull() now performs its actions from within a timed_activity()
to match Element._push() and allow for SkipError to be raised.

"Downloaded artifact <cache key>" has been reworded to "Pulled artifact
<cache key>" for consistency with Element._push().
parent 8cd719eb
Loading
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