Change FindTag err when tag not found to NotFound
What
Update the error message to be Not Found
rather than Internal
when a
tag is not found behind a feature flag.
Why
We burn through our error budget when a single user sends a bunch of
requests to tags that don't exist because we classify the error as
Internal
, instead it should be NotFound
.
We need to set this behind a feature flag to prevent any deployment
issues because the rails application
expects Internal
err. In gitlab!93009 (merged) we are
adding support for NotFound
.
Reference: #4366 (closed)