File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/private/Metadata/Provider Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,10 +56,10 @@ public function execute(File $file): array {
5656 // But I don't understand why 1 as a special meaning.
5757 // Revert right after reading the exif data.
5858 $ oldBufferSize = stream_set_chunk_size ($ fileDescriptor , 1 );
59- $ data = exif_read_data ($ fileDescriptor , 'ANY_TAG ' , true );
59+ $ data = @ exif_read_data ($ fileDescriptor , 'ANY_TAG ' , true );
6060 stream_set_chunk_size ($ fileDescriptor , $ oldBufferSize );
6161 } catch (\Exception $ ex ) {
62- $ this ->logger ->warning ("Couldn't extract metadata for " .$ file ->getId (), ['exception ' => $ ex ]);
62+ $ this ->logger ->info ("Couldn't extract metadata for " .$ file ->getId (), ['exception ' => $ ex ]);
6363 }
6464
6565 $ size = new FileMetadata ();
You can’t perform that action at this time.
0 commit comments