mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-22 04:10:59 -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);
|
$pdfString = strip_tags($pdfString);
|
||||||
} catch (Exception $exception) {
|
} catch (\Exception $exception) {
|
||||||
Utils::logError("PhantomJS - Failed to create pdf: {$exception->getMessage()}");
|
Utils::logError("PhantomJS - Failed to create pdf: {$exception->getMessage()}");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user