mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #54264 from nextcloud/smb-timeout-unavailable
fix: handle smb timeouts as storage not available
This commit is contained in:
commit
761093daf8
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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue