is that intended? if so, is there a way to skip th...
# ask-community
c
is that intended? if so, is there a way to skip the SKIP signals?
c
Hi @Christopher Stokes - so is your goal here that Prefect-specific exceptions are not raised, only “unexpected” ones?
c
I think that's a good framing
c
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
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
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”