Catch the erorr on one more place

This commit is contained in:
DariusIII
2018-10-26 09:12:02 +02:00
parent 27140eb4c0
commit 3596f2f3fb
@@ -1922,6 +1922,8 @@ class ProcessAdditional
$this->ffmpeg->open($fileLocation)->frame(TimeCode::fromString($time === '' ? '00:00:03:00' : $time))->save($fileName);
} catch (\RuntimeException $runtimeException) {
//We show no error at all, we failed to save the frame and move on
} catch (\InvalidArgumentException $e) {
//We do nothing, just prevent displaying errors because the file cannot be open(corrupted or incomplete file)
}
}