Merge pull request #54264 from nextcloud/smb-timeout-unavailable

fix: handle smb timeouts as storage not available
pull/54049/head
Ferdinand Thiessen 2025-08-06 11:27:02 +07:00 committed by GitHub
commit 761093daf8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

@ -336,7 +336,7 @@ class SMB extends Common implements INotifyStorage {
if ($retry) {
return $this->stat($path, false);
} else {
throw $e;
throw new StorageNotAvailableException($e->getMessage(), $e->getCode(), $e);
}
}
if ($this->remoteIsShare() && $this->isRootDir($path)) {