Example: The /metadata endpoint was returning 500 errors. The maps tab showed incomprehensible messages about parsing JSON because it was trying to parse the HTML error message it go. Instead, the app should catch the error and show a message something like "An error occurred requesting metadata from the backend. Please refresh your browser to try again."
This is probably not restricted to just this one request failure. It would be good to search for all cases where the backend is called and errors are not handled well.
Example: The
/metadataendpoint was returning 500 errors. The maps tab showed incomprehensible messages about parsing JSON because it was trying to parse the HTML error message it go. Instead, the app should catch the error and show a message something like "An error occurred requesting metadata from the backend. Please refresh your browser to try again."This is probably not restricted to just this one request failure. It would be good to search for all cases where the backend is called and errors are not handled well.