Catch exceptions with var (#14)

pull/37/head
Varun Patil 2022-08-22 18:16:05 +00:00
parent 200bf8c17d
commit be2cdd6197
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class TimelineWrite {
$exif = [];
try {
$exif = Exif::getExifFromFile($file);
} catch (\Exception) {}
} catch (\Exception $e) {}
// Get more parameters
$dateTaken = Exif::getDateTaken($file, $exif);