How do I catch an error from a function and continue running
Options
![HC](https://us.v-cdn.net/6037124/user_avatars/3999071.jpg)
HC
Member ✭
[Screenshot 2022-04-28 at 4.14.50 PM.png]I'm calling a function from a task. How do I catch errors with an if-else and let the task continue to run?
Thanks in advance.
Thanks in advance.
Comments
-
AFAIK Xano doesn't have try-catch today - an error will stop the show.
What you can do is use filters to check whether a certain criteria is met. For example, you can use an "if" to check to see whether a given field is a valid email before attempting the data transaction, and flow around it. -
Thanks. I did exactly that.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback