diff options
author | Robin Appelman <robin@icewind.nl> | 2018-07-03 14:56:37 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2018-07-03 18:12:31 +0200 |
commit | 6d68d34f2f9fed526c6e48529e081b662e78cce4 (patch) | |
tree | b31ecd3afe4d92ce6a79738cb96f72acda4ce264 /apps/dav | |
parent | d1df33a19067c02d86e3cafedd78ac4561dc673b (diff) | |
download | nextcloud-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.php | 2 |
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) { |