mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 22:54:25 +01:00
Static Analysis
This commit is contained in:
parent
006e819f3a
commit
dfdfc41fee
@ -306,9 +306,6 @@ class TemplateService
|
|||||||
} catch(SyntaxError $e) {
|
} catch(SyntaxError $e) {
|
||||||
nlog($e->getMessage());
|
nlog($e->getMessage());
|
||||||
throw ($e);
|
throw ($e);
|
||||||
} catch(Error $e) {
|
|
||||||
nlog("error = " . $e->getMessage());
|
|
||||||
throw ($e);
|
|
||||||
} catch(RuntimeError $e) {
|
} catch(RuntimeError $e) {
|
||||||
nlog("runtime = " . $e->getMessage());
|
nlog("runtime = " . $e->getMessage());
|
||||||
throw ($e);
|
throw ($e);
|
||||||
@ -318,6 +315,9 @@ class TemplateService
|
|||||||
} catch(SecurityError $e) {
|
} catch(SecurityError $e) {
|
||||||
nlog("security = " . $e->getMessage());
|
nlog("security = " . $e->getMessage());
|
||||||
throw ($e);
|
throw ($e);
|
||||||
|
} catch(Error $e) {
|
||||||
|
nlog("error = " . $e->getMessage());
|
||||||
|
throw ($e);
|
||||||
}
|
}
|
||||||
|
|
||||||
$template = $template->render($this->data);
|
$template = $template->render($this->data);
|
||||||
|
Loading…
Reference in New Issue
Block a user