From 08865046fb5329ce7e2264190965e8eebb7e3c98 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 6 Jun 2019 16:02:42 +0200 Subject: [PATCH] log inner exception during dav write Signed-off-by: Robin Appelman --- apps/dav/lib/Connector/Sabre/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() . '"';