summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector/Sabre
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2018-07-03 14:56:37 +0200
committerRobin Appelman <robin@icewind.nl>2018-07-03 14:56:37 +0200
commit27089422e13c74b570a25d62827d83f4b2274329 (patch)
treee46204c453d67ceea6f4e0775cb50b6834511c3c /apps/dav/lib/Connector/Sabre
parentaa64584d679d0d5836ce2e08197d58fe2f8f4a86 (diff)
downloadnextcloud-server-27089422e13c74b570a25d62827d83f4b2274329.tar.gz
nextcloud-server-27089422e13c74b570a25d62827d83f4b2274329.zip
Improved logging of smb connection errors
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/dav/lib/Connector/Sabre')
-rw-r--r--apps/dav/lib/Connector/Sabre/ObjectTree.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/ObjectTree.php b/apps/dav/lib/Connector/Sabre/ObjectTree.php
index 15988cdadb4..ae185b1a611 100644
--- a/apps/dav/lib/Connector/Sabre/ObjectTree.php
+++ b/apps/dav/lib/Connector/Sabre/ObjectTree.php
@@ -159,7 +159,7 @@ class ObjectTree extends CachingTree {
throw new StorageNotAvailableException();
}
} catch (StorageNotAvailableException $e) {
- throw new \Sabre\DAV\Exception\ServiceUnavailable('Storage is temporarily not available');
+ throw new \Sabre\DAV\Exception\ServiceUnavailable('Storage is temporarily not available', 0, $e);
} catch (StorageInvalidException $e) {
throw new \Sabre\DAV\Exception\NotFound('Storage ' . $path . ' is invalid');
} catch (LockedException $e) {