diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/FilesMetadata/Model/FilesMetadata.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/FilesMetadata/Model/FilesMetadata.php b/lib/private/FilesMetadata/Model/FilesMetadata.php index 3de72357431..41ede3ef2d3 100644 --- a/lib/private/FilesMetadata/Model/FilesMetadata.php +++ b/lib/private/FilesMetadata/Model/FilesMetadata.php @@ -159,7 +159,7 @@ class FilesMetadata implements IFilesMetadata { public function getEtag(string $key): string { if (!array_key_exists($key, $this->metadata)) { - throw new FilesMetadataNotFoundException(); + return ''; } return $this->metadata[$key]->getEtag(); |