Closed individual-it closed 11 months ago
Typical errors would also be that the server is not reachable (see #36) or the authentication did not succeed (token expired, access denied).
In addition to that, error code 500 should maybe displayed to the user as "The server has an internal problem. Please try again later." to clarify that it's not the users fault what happened here.
Also: After displaying the exception the user just as a blank filepicker window and does not know what to do. So there has some mechanism to make the user reload the file picker, display a button to try a reload in the listing area of the file picker or anything else.
@PhMemmel thank you for the feedback. I've added more exception handling:
HttpException
UnauthorizedException
TooEarlyException
. Alternatively we could not display those filesI'm not quite sure how to help the user better after the error message. The user can click on any of the breadcrumbs or the repository button
Looks great, thank you very much! Also the reload button is very valuable for the user.
Catch the most likely issues and show a better message to the user.
fixes #39
depends on https://github.com/owncloud/ocis-php-sdk/pull/125If the debugging options are disabled this looks like this e.g. when a folder disappears:
And like that with enabled debug settings:
Do we need to catch more cases?