Hi.
As of Wappler 4.1.2, if we add an API Action inside a Try Catch step in Server Actions, enabling Pass Errors does not actually throw the error to be cuaght by Catch. Instead, the execution stops and the error is passed to client side.
Confirmed by Patrick here: Try/catch API error
So, this FR is for Wappler to add another checkbox option to Throw Error
alongside the Output
& Pass Error
options, so that the erorr response from API invoikes Catch with $_ERROR
set to the response from API Action.
If anyone has a better solution for this in Wappler right now, please share. Else, please vote.
Community Page
Last updated:
Last updated: