mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Merge pull request #54296 from nextcloud/backport/54264/stable30
[stable30] fix: handle smb timeouts as storage not available
This commit is contained in:
commit
23f13ff406
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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue