log inner exception during dav write

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2019-06-06 16:02:42 +02:00
parent 07ffe4a34a
commit 08865046fb
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
1 changed files with 1 additions and 1 deletions

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