frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Clean up frontend residue code that shows incorrect error messages

Open kjw142857 opened this issue 2 years ago • 1 comments

Currently, handleResponseError in the RequestsSaga checks if the response is null and if so, shows a message that the user is unable to reach the BE servers. However, the response handled defaults to null as the request handler does not forward non-200 responses, and so this message is always shown regardless of the actual error (e.g. unauthorised access, file not found) This may cause users to misunderstand what the actual issue is

image (all errors cause null to be forwarded)

image (the forwarded null response causes the default incorrect server message to show)

kjw142857 avatar Sep 19 '23 09:09 kjw142857

Somewhat related to #2574.

RichDom2185 avatar Sep 20 '23 03:09 RichDom2185