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

🐛 Missing entities generate a sentry error #1369

Open
MatMoore opened this issue Feb 10, 2025 · 0 comments
Open

🐛 Missing entities generate a sentry error #1369

MatMoore opened this issue Feb 10, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@MatMoore
Copy link
Contributor

Describe the bug.

When Find MoJ data returns a 404, we still get an error in sentry.

However, it is normal for the service to return 404 when a catalogue entry does not exist. This might happen because a dataset has been removed or renamed (causing the URN to change), but somebody still has an old url bookmarked.

These kinds of errors clutter up sentry and obscure actual issues requiring attention

Example:
https://ministryofjustice.sentry.io/issues/6267209271/?environment=prod&query=is%3Aunresolved%20issue.priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-stream&statsPeriod=30d&stream_index=2

To Reproduce

  1. Open a dataset in Find MoJ data.
  2. Change the urn to a urn that doesn't exist

Expected Behaviour

  • Find MoJ data displays the 404 page
  • No sentry errors

Additional context

No response

@MatMoore MatMoore added the bug Something isn't working label Feb 10, 2025
@github-project-automation github-project-automation bot moved this to Todo 📝 in Data Catalogue Feb 10, 2025
@MatMoore MatMoore changed the title 🐛 Missing metadata generates a sentry error 🐛 Missing entities generate a sentry error Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo 📝
Development

No branches or pull requests

1 participant