Draft: Publish errors as JSON
What does this MR do and why?
This change attempts to publish the error message received from the OpenAI API as JSON instead of as a serialized Ruby String.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.