Bug
PWA: refresh of revisted app leads to strange error
Issue description
When the PWA is left opened on the device and revisted after a longer period of time (in this case approx. 12 hours), the refresh in the changes panel leads to a modal dialog with the error message: SyntaxError: Unexpected token < in JSON at position 0. This is confusing for the user.
Developer comments
The app automatically logs in upon refreshing. Meaning the cause for this error message and the subsequent modal dialog is gone. But it was also ensure that if there is an error, not a technical message, but a rather generic one is displayed.
|
Work sessions
Start |
2022-07-14T07:55:46
|
End |
2022-07-14T09:09:57
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.