https://prefect.io logo
Title
c

Christopher Stokes

09/27/2019, 8:40 PM
is that intended? if so, is there a way to skip the SKIP signals?
c

Chris White

09/27/2019, 8:43 PM
Hi @Christopher Stokes - so is your goal here that Prefect-specific exceptions are not raised, only “unexpected” ones?
c

Christopher Stokes

09/27/2019, 8:43 PM
I think that's a good framing
c

Chris White

09/27/2019, 8:44 PM
The current behavior is that all exceptions are re-raised to the top with
raise_on_exception
, but I think it could be re-wired to avoid Prefect Signals - I’ll get back to you shortly and let you know!
c

Christopher Stokes

09/27/2019, 8:45 PM
When using switch I presume only one of the branches gets called so the others will raise
signals.SKIP
. It's unclear how to use
raise_on_exception()
if you use something that returns a SKIP signal. Or at least that's how I read it 🙂
👍 1
just read response - thanks!
c

Chris White

09/27/2019, 9:14 PM
Whenever this is merged, you could work off the master branch until our next release!
@Marvin archive “Bug: raise_on_exception is raising switch SKIP signal”