summaryrefslogtreecommitdiffstats
path: root/apps/dav
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 18:12:31 +0200
commit6d68d34f2f9fed526c6e48529e081b662e78cce4 (patch)
treeb31ecd3afe4d92ce6a79738cb96f72acda4ce264 /apps/dav
parentd1df33a19067c02d86e3cafedd78ac4561dc673b (diff)
downloadnextcloud-server-6d68d34f2f9fed526c6e48529e081b662e78cce4.tar.gz
nextcloud-server-6d68d34f2f9fed526c6e48529e081b662e78cce4.zip
Improved logging of smb connection errors
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/dav')
-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 25db1d5028c..e3a3d50f1ec 100644
--- a/apps/dav/lib/Connector/Sabre/ObjectTree.php
+++ b/apps/dav/lib/Connector/Sabre/ObjectTree.php
@@ -160,7 +160,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) {