qgis-planet-plugin icon indicating copy to clipboard operation
qgis-planet-plugin copied to clipboard

Handle bad request errors

Open Samweli opened this issue 2 years ago • 1 comments

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

Samweli avatar Feb 10 '23 19:02 Samweli

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?

john-dupuy avatar Feb 10 '23 20:02 john-dupuy