Elias
July 2, 2019, 7:38am
1
Hi,
How can we use the catch group under the server connect?
What kind of functions can fit there as database insert and mailer are not working under catch.
Thank you
There are many topics here in the forum explaining it. Like:
Hey Dave,
Normally, if you have not defined any steps under catch and some of the steps in your server action results in an error - then the server action just ends, and an error message is generated.
If you want to create your own error handler, like for example - sending an email, when there was an error during executing the server action, you place the send mail step under catch.
Another example - you insert some data into the db and then upload an image related with this record, but the u…
George
Split this topic
July 2, 2019, 10:38am
3