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

Handle invalid packages in URL #216

Open
sentry-io bot opened this issue Jan 27, 2023 · 0 comments
Open

Handle invalid packages in URL #216

sentry-io bot opened this issue Jan 27, 2023 · 0 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Jan 27, 2023

Sentry Issue: SPA-7A

Error: Http failure response for https://nugettrends.com/api/package/history/System.Diagnostics?months=3: 404 OK

Http failure response for https://nugettrends.com/api/package/history/System.Diagnostics?months=3: 404 OK

A blog post includes a link to nuget trends with an invalid package (System.Diagnostics). This creates an error. The site could just handle the 404 from the API and handle this with a message: "package XYZ doesn't exist".

Repro: https://nugettrends.com/packages?months=3&ids=Serilog&ids=NLog&ids=Microsoft.Extensions.Logging&ids=System.Diagnostics&ids=log4net

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

No branches or pull requests

0 participants