Fixes on exception catching for SysGeneric

This commit is contained in:
@sinedrik
2013-08-23 13:23:19 -04:00
parent 9e001777ba
commit 7ddabbad91
4 changed files with 90 additions and 58 deletions

View File

@@ -1026,5 +1026,9 @@ try {
}
}
} catch (Exception $e) {
Bootstrap::renderTemplate('error.tpl', 'SYSTEM EXCEPTION', $e->getMessage(), array());
Bootstrap::renderTemplate('error.tpl', array(
'title' => 'ProcessMaker Bootstrap Exception',
'message' => nl2br($e->getMessage()),
'exceptionClass' => get_class($e)
));
}