Merge pull request #15888 from nextcloud/dav-write-forward-exception

log inner exception during dav write
This commit is contained in:
Robin Appelman 2019-06-24 10:22:03 +02:00 committed by GitHub
commit 88d9f009ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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() . '"';