fix: handle smb timeouts as storage not available

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/54295/head
Robin Appelman 2025-08-05 17:39:12 +07:00 committed by backportbot[bot]
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)) {