Fixing a bug when throwing an exception
This commit is contained in:
parent
cbb4c35ef0
commit
8ac67679ab
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ class ExtractMultipleFramesFilter implements VideoFilterInterface
|
|||
break;
|
||||
}
|
||||
catch (RuntimeException $e) {
|
||||
throw new RuntimeException('An error occured while extracting the frames: ' . $e->getCode() . ' The message: '$e->getMessage());
|
||||
throw new RuntimeException('An error occured while extracting the frames: ' . $e->getMessage() . '. The code: ' . $e->getCode());
|
||||
}
|
||||
|
||||
return $commands;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue