mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-21 19:11:01 -04:00
Catch PhantomJS error
This commit is contained in:
parent
034496ac6c
commit
716c6dd43f
@ -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…
x
Reference in New Issue
Block a user