Log errors returned by ai-gateway in code_suggestions/direct_access endpoint
When we get an explicit error back from ai-gateway, that error does not get logged anywhere, yet we respond with a 503. This makes it difficult to diagnose why errors are happening.
This ticket was created from INC-1543 and was automatically exported by incident.io
Edited by 🤖 GitLab Bot 🤖