Skip to content
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

Reduce noise from logged errors for bad user inputs #2284

Open
jpd236 opened this issue Oct 1, 2024 · 0 comments
Open

Reduce noise from logged errors for bad user inputs #2284

jpd236 opened this issue Oct 1, 2024 · 0 comments

Comments

@jpd236
Copy link
Contributor

jpd236 commented Oct 1, 2024

A few instances of bad user input cause client+server errors to be logged, which causes noise w/ BugSnag and notifications, and in some cases results in less clear user-facing errors. IMO, these would ideally be handled more gracefully to avoid the noise.

From our test run with GPH, I noticed the following:

  • Invalid URL when creating puzzle (looks like there's some sort of regex powering this in the MongoDB schema)
  • Puzzle title is empty when creating/updating puzzle
  • Guess is empty when adding answer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant