Skip to content

fix(redirect): return 200 when redirect not found #66935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 10, 2025

Conversation

stephenliang
Copy link
Member

Originally the redirect API returned 404 when a redirect entry was not found. However, this causes a lot of noise on New Relic where it detects the 404 as an 'error'. To mitigate this, the API now returns an OK response but when the redirectEntry as null if the entry is not found.

Originally the redirect API returned 404 when a redirect entry was not
found. However, this causes a lot of noise on New Relic where it detects
the 404 as an 'error'. To mitigate this, the API now returns an OK
response but when the `redirectEntry` as null if the entry is not found.
@stephenliang stephenliang requested a review from a team July 8, 2025 03:22
@stephenliang stephenliang merged commit 9070477 into staging Jul 10, 2025
12 checks passed
@stephenliang stephenliang deleted the stephen/fix-noisy-redirector branch July 10, 2025 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants