mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix: handle smb timeouts as storage not available
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
14a3b131a0
commit
3b0bebd8ad
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,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