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 bad request errors #126

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

Samweli
Copy link
Collaborator

@Samweli Samweli commented Feb 10, 2023

Adds check to handle bad queries errors caused by invalid input request to the Planet API.
This includes showing a message bar to the user indicating that they have provided invalid search input/parameters.

Screenshot current behaviour
bad_query_planet_error

Screenshot fixed behaviour
handled_error_during_search

@john-dupuy
Copy link
Contributor

In it possible to include the full stack trace in the "Planet" logs? I think we are hiding a lot of relevant information by catching this exception.

Also, I'm curious how this impacts our Sentry reporting? Will these errors still get reported?

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

Successfully merging this pull request may close these issues.

2 participants