Catch exceptions with var (#14)
parent
200bf8c17d
commit
be2cdd6197
|
@ -55,7 +55,7 @@ class TimelineWrite {
|
||||||
$exif = [];
|
$exif = [];
|
||||||
try {
|
try {
|
||||||
$exif = Exif::getExifFromFile($file);
|
$exif = Exif::getExifFromFile($file);
|
||||||
} catch (\Exception) {}
|
} catch (\Exception $e) {}
|
||||||
|
|
||||||
// Get more parameters
|
// Get more parameters
|
||||||
$dateTaken = Exif::getDateTaken($file, $exif);
|
$dateTaken = Exif::getDateTaken($file, $exif);
|
||||||
|
|
Loading…
Reference in New Issue