If API response is an ERROR, how can I save that error to my database

Options

Hi, I am looking to capture any ERROR responses from my API points, but find the function stack abruply stops when the ERROR occurs and responds to the front end.

I expect my front end to also deal with the error in some way but I am looking for ways my Xano backend can also save this ERROR to my error log table.

I tried POST PROCESS function but that doesnt seem to run either at that point. Is there any solution or do I just rely on the frontend to deal with it?

Looking forward to any suggestions

Answers