Capture the PreCondition error

Options
Is it possible to capture the error raised by the PreCondition function for logging purposes.

Currently the stack breaks on a PreCondition failure and returns the error. 

In this case I would want the stack to keep running but may return some other value and a 200 http error code.

I know an IF...Condition would probably work, but just thinking out aloud.🙂

Comments

  • Michael Udinski
    Michael Udinski Administrator

    ADMIN

    Options
    You can add a payload to the precondition for when it fails... but yes I think an IF... Then... Else condition would make the more sense for this use case :)