Browse Source

log inner exception during dav write

Signed-off-by: Robin Appelman <robin@icewind.nl>
tags/v17.0.0beta1
Robin Appelman 5 years ago
parent
commit
08865046fb
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      apps/dav/lib/Connector/Sabre/File.php

+ 1
- 1
apps/dav/lib/Connector/Sabre/File.php View File

@@ -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() . '"';

Loading…
Cancel
Save