summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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() . '"';