mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-31 10:18:55 +00:00
Catch the erorr on one more place
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user