Merge pull request #15888 from nextcloud/dav-write-forward-exception
log inner exception during dav write
This commit is contained in:
commit
88d9f009ec
|
@ -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…
Reference in New Issue