Improve the way to log Vertex model API errors
This MR improves the way we log API errors of the Code-Gecko model following !221 (comment 1465590934).
Ref: https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/24038#note_1453195766
This MR improves the way we log API errors of the Code-Gecko model following !221 (comment 1465590934).
Ref: https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/24038#note_1453195766