improved
ErrorResponse "text" Field is Now User-facing
about 2 months ago by John Li
- Prior to this change, the
text
field ofErrorResponse
was not displayed on the client and errors always showed the text "Bot x ran into an unexpected issue". With this change, thetext
field is now displayed to the user, allowing for custom error messages. It is recommended to put the raw exception in theraw_response
field instead.