summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2019-06-24 10:22:03 +0200
committerGitHub <noreply@github.com>2019-06-24 10:22:03 +0200
commit88d9f009ec9d4d27e9ed29ef05537367a21822ac (patch)
tree2373f9b0f58b5207e90cc58990892622ca105ce5 /apps
parentc4171943741abe6ef1f52723068c9ed53b46b9ea (diff)
parent08865046fb5329ce7e2264190965e8eebb7e3c98 (diff)
downloadnextcloud-server-88d9f009ec9d4d27e9ed29ef05537367a21822ac.tar.gz
nextcloud-server-88d9f009ec9d4d27e9ed29ef05537367a21822ac.zip
Merge pull request #15888 from nextcloud/dav-write-forward-exception
log inner exception during dav write
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/Connector/Sabre/File.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/File.php b/apps/dav/lib/Connector/Sabre/File.php
index 3c42f66a04a..2f7bd804e3a 100644
--- a/apps/dav/lib/Connector/Sabre/File.php
+++ b/apps/dav/lib/Connector/Sabre/File.php
@@ -295,7 +295,7 @@ class File extends Node implements IFile {
}
} catch (StorageNotAvailableException $e) {
- throw new ServiceUnavailable("Failed to check file size: " . $e->getMessage());
+ throw new ServiceUnavailable("Failed to check file size: " . $e->getMessage(), 0, $e);
}
return '"' . $this->info->getEtag() . '"';