diff options
author | Robin Appelman <robin@icewind.nl> | 2019-06-06 16:02:42 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2019-06-06 16:02:42 +0200 |
commit | 08865046fb5329ce7e2264190965e8eebb7e3c98 (patch) | |
tree | 7e4219d426d71218c82416e3f13d1bb5de84a852 /apps | |
parent | 07ffe4a34a9b3e63f33603a2e2bd49ea98293d88 (diff) | |
download | nextcloud-server-08865046fb5329ce7e2264190965e8eebb7e3c98.tar.gz nextcloud-server-08865046fb5329ce7e2264190965e8eebb7e3c98.zip |
log inner exception during dav write
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/Connector/Sabre/File.php | 2 |
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() . '"'; |