diff --git a/lib/Exif.php b/lib/Exif.php index 80d3395d..10002c09 100644 --- a/lib/Exif.php +++ b/lib/Exif.php @@ -299,7 +299,9 @@ class Exif { // Check if found something try { return self::parseExifDate($dt); - } catch (\Exception $ex) {} + } catch (\Exception $ex) { + } catch (\ValueError $ex) { + } // Fall back to creation time $dateTaken = $file->getCreationTime();