Skip to content

fix: keep network errors when loading webdav files fails - #4171

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/webdav-network-error
Nov 3, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/webdav-network-error

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

A network error while loading a file now shows the network error (e.g. "Network Error") instead of "Cannot read properties of undefined (reading 'status')". Cancelled requests keep their error type again, so they're no longer logged as errors.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: errors without a response are rethrown as they are, errors with a response are still wrapped
  • test case 2: browser: failing content GET, failing PROPFIND, failing MKCOL, 500 and 404 handling, editor and image preview happy path, desktop and Pixel 7

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear
AlexAndBear merged commit 9d38e2c into main Nov 3, 2026
29 checks passed
@AlexAndBear
AlexAndBear deleted the fix/webdav-network-error branch November 3, 2026 10:38
@openclouders openclouders mentioned this pull request Nov 3, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A network error while loading a file shows a raw JavaScript error

2 participants