Catch PhantomJS error
This commit is contained in:
parent
034496ac6c
commit
716c6dd43f
1 changed files with 1 additions and 1 deletions
|
|
@ -1207,7 +1207,7 @@ class Invoice extends EntityModel implements BalanceAffecting
|
|||
}
|
||||
|
||||
$pdfString = strip_tags($pdfString);
|
||||
} catch (Exception $exception) {
|
||||
} catch (\Exception $exception) {
|
||||
Utils::logError("PhantomJS - Failed to create pdf: {$exception->getMessage()}");
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue