fix: handle smb timeouts as storage not available

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