Skip to content

show crates.io search errors to the user without logging them #2480

Open
@syphar

Description

@syphar

We are using the crates.io search API to power our own crate-search.

Sometimes the crates.io API returns 4xx or 5xx errors because of wrong queries or timeouts.

These errors can be shown to the user, but there is no need to report them to sentry or log them as errors.

We could add a new metric to track the amount of errors.

Metadata

Metadata

Assignees

Labels

A-backendArea: Webserver backendE-easyEffort: Should be easy to implement and would make a good first PRP-lowLow priority issuesmentorThis has instructions for getting started

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions