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

[stable30] fix: handle smb timeouts as storage not available
pull/51065/head
Ferdinand Thiessen 2025-08-07 14:38:36 +07:00 committed by GitHub
commit 23f13ff406
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

@ -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)) {