Browse Source

log inner exception during dav write

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/15888/head
Robin Appelman 7 years ago
parent
commit
08865046fb
No known key found for this signature in database GPG Key ID: 42B69D8A64526EFB
  1. 2
      apps/dav/lib/Connector/Sabre/File.php

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

Loading…
Cancel
Save