When we sent text messages from the back end, a 500 error and "stack too deep" message was the result even though Twilio could successfully send the message.
We built out the controller with poro and serializer to handle this RESTful route.
Happy path is working, but more needs to be done to get the error message we declared to be passed to the front end.
Motivation and Context
Correct the http status returned in response
How has this been tested?
On localhost using postman
What is the percent testing coverage?
93%
Screenshots (if appropriate):
Types of changes
[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist:
[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
When we sent text messages from the back end, a 500 error and "stack too deep" message was the result even though Twilio could successfully send the message.
We built out the controller with poro and serializer to handle this RESTful route.
Happy path is working, but more needs to be done to get the error message we declared to be passed to the front end.
Motivation and Context
Correct the http status returned in response
How has this been tested?
On localhost using postman
What is the percent testing coverage?
93%
Screenshots (if appropriate):
Types of changes
Checklist: