diff --git a/Classes/Domain/Extractor/ExifExtractor.php b/Classes/Domain/Extractor/ExifExtractor.php index 39de278..25bee2a 100644 --- a/Classes/Domain/Extractor/ExifExtractor.php +++ b/Classes/Domain/Extractor/ExifExtractor.php @@ -153,7 +153,7 @@ public function extractMetaData(FlowResource $resource, MetaDataCollection $meta try { $exifData = @exif_read_data($resource->createTemporaryLocalCopy(), 'EXIF'); } catch (FlowResourceException $exception) { - throw new ExtractorException('Could not extract EXIF data from ' . $resource->getFilename(), 1484059228, $e); + throw new ExtractorException('Could not extract EXIF data from ' . $resource->getFilename(), 1484059228, $exception); } if ($exifData === false) { throw new ExtractorException('Could not extract EXIF data from ' . $resource->getFilename(), 1484056779);