MerginMaps / mobile

Mergin Maps mobile app 📲 Open QGIS projects and manage vector data on your phone, even offline 📶 (Android/iOS/Windows app)
https://merginmaps.com
GNU General Public License v2.0
299 stars 65 forks source link

Better error reporting on 400 errors #861

Open mostlyAtNight opened 4 years ago

mostlyAtNight commented 4 years ago

400 errors often mask issues with geodiff. Mergin returns an error message along with a 400 error. I suggest that we always allow the user (even if needing to click on a more details button) to see the detail of this error to aid in our debugging.

mostlyAtNight commented 4 years ago

I would also recommend translating the 400 error messages to something more meaningful to the user, for example:

A process is already running - that sounds to me like it's a local process on the phone, not on the server - these should be rephrased to be more useful (within Input).