mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-05 20:57:49 +02:00
Gelato ErrorHandler and Logger improvments
This commit is contained in:
@@ -88,7 +88,7 @@ class ErrorHandler
|
||||
/**
|
||||
* Dont thow NOTICE exception for PRODUCTION Environment. Just write to log.
|
||||
*/
|
||||
if (GELATO_DISPLAY_DEVELOPMENT == false && $code == 8) {
|
||||
if (GELATO_DEVELOPMENT == false && $code == 8) {
|
||||
|
||||
// Get exception info
|
||||
$error['code'] = $code;
|
||||
@@ -275,7 +275,7 @@ class ErrorHandler
|
||||
// Send headers and output
|
||||
@header('Content-Type: text/html; charset=UTF-8');
|
||||
|
||||
if (GELATO_DISPLAY_DEVELOPMENT) {
|
||||
if (GELATO_DEVELOPMENT) {
|
||||
|
||||
$error['backtrace'] = $exception->getTrace();
|
||||
|
||||
|
Reference in New Issue
Block a user