Catch exceptions with var (#14)
parent
200bf8c17d
commit
be2cdd6197
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue