Merge pull request #54296 from nextcloud/backport/54264/stable30

[stable30] fix: handle smb timeouts as storage not available
This commit is contained in:
Ferdinand Thiessen 2025-08-07 14:38:36 +02:00 committed by GitHub
commit 23f13ff406
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -354,7 +354,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)) {