Discussions
Is there any point in putting try/catch statements in each method of a controller?
I'm using Adonis JS as the API for my application. For each method in my controllers, I add try/catch statements to handle errors and return a response to my front-end in case one occurs. async createDiscussion({ request, auth, response }:...
1
393
Showing 1 to 1 of 1 results