From 3596f2f3fb0334fbf27c11d1849b83b6ef4ff17c Mon Sep 17 00:00:00 2001 From: DariusIII Date: Fri, 26 Oct 2018 09:12:02 +0200 Subject: [PATCH] Catch the erorr on one more place --- Blacklight/processing/post/ProcessAdditional.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Blacklight/processing/post/ProcessAdditional.php b/Blacklight/processing/post/ProcessAdditional.php index 81c58d13f..7c07b3cce 100755 --- a/Blacklight/processing/post/ProcessAdditional.php +++ b/Blacklight/processing/post/ProcessAdditional.php @@ -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) } }