Admin App - Add generic error message for error codes that are not handled

Description

There are places in Admin App where we catch errors and we show custom messages depending on the error code. For example for error code 500 we show "We hit a problem. Try again." Because we are checking only a few of the error codes there are a lot of different that we don't show a custom message for them and nothing will happen when these codes will occur in the application. The purpose of this ticket is to make a generic message for this unhandled cases.

Check the example in the screenshoots. In that case only for the error 500 we will show a message. And nothing will happen for all the other error codes.

Activity

Show:
All Replies
November 19, 2019, 3:18 PM
Edited

[This comment has been reassigned to allreplies@alfresco.com as part of the Alfresco cloud migration project. The author of this comment was skomeravelli] Tested the following error messages:

when 500 status code is seen , error message "We hit a problem. Try again." is seen
503 error message has been tested by
For all others, error message "Error. Something went wrong." is seen . Tested this by checking out the branch which got these changes

Resolved

Assignee

All Replies

Reporter

Ardit Domi

Labels

None

Delivery Team

Team 4

Release Train

None

Sprint

None

Fix versions

Affects versions

Priority

Minor