diff options
author | Robin Appelman <robin@icewind.nl> | 2025-08-05 17:39:12 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2025-08-06 15:18:00 +0000 |
commit | fc585e0ef5850688de9922fdd15fe2e1b955f381 (patch) | |
tree | c430ade65d41ba7afe674b8aa6c4db6cfcdd371d | |
parent | 94a5e1440eaa8bf2d7a4ff2a59abf2d045b30845 (diff) | |
download | nextcloud-server-backport/54264/stable30.tar.gz nextcloud-server-backport/54264/stable30.zip |
fix: handle smb timeouts as storage not availablebackport/54264/stable30
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r-- | apps/files_external/lib/Lib/Storage/SMB.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Lib/Storage/SMB.php b/apps/files_external/lib/Lib/Storage/SMB.php index 6daccf40a5b..39407ce8d04 100644 --- a/apps/files_external/lib/Lib/Storage/SMB.php +++ b/apps/files_external/lib/Lib/Storage/SMB.php @@ -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)) { |