Add error handling to answerController
Closed this issue · 2 comments
tsimian commented
The getAnswer
, updateAnswer
, and deleteAnswer
functions in answerController.js
are missing error handlers. This could cause unexpected behaviors. Please implement this error handling by wrapping the code in each function in a try/catch block.
You can use habitController.js
as an example.
codepley commented
Hey, I would like to work on this issue.