- Notifications
You must be signed in to change notification settings - Fork1k
chore: correct 500 -> 404#11129
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
johnstcn left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
What problem is this addressing?
If this breaks no unit tests, that makes me suspicious that we have a gap in test coverage.
A custom was reporting they had 500 error alerting. The 500 error was |
Should we then add a test that an expired agent token does not trigger a 5xx? Just to avoid an accidental regression for this customer in future. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This looks fine to me, but we should have a test to cover this behaviour so we don't accidentally push a regression in the future.
Uh oh!
There was an error while loading.Please reload this page.
Makes 401 errors return at 404 instead of 500