Don't return 500 error for tags in atom format
What does this MR do and why?
Sentry error: https://sentry.gitlab.net/gitlab/gitlabcom/issues/3152896
Problem
When Gitaly is unavailable, tags atom requests return a 500 error.
Solution
Return 503 (Service unavailable error) instead
How to set up and validate locally
- Stop gitaly
gdk stop gitaly
- Open link: http://127.0.0.1:3000/flightjs/Flight/-/tags?format=atom
- You should see 503 error, instead of 500.
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.
Edited by Vasilii Iakliushin