You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A network error while loading a file shows a raw JavaScript error #4163
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
When loading a file fails with a network error, the app shows the raw JS error Cannot read properties of undefined (reading 'status') instead of a network error. getFileContents (and DAV.request) read error.response.status when there is no response.
Reproduction Steps
Open a text file in the text editor once, then go back to the file list
Make the GET of the file content fail with a network error (e.g. DevTools offline for that request)
Open the file again
Expected Outcome
A clear network error message.
Actual Outcome
Cannot read properties of undefined (reading 'status').
Activity