Permalink
Browse files

Debugger: strictMode only logs

  • Loading branch information...
1 parent 679ea83 commit 14e0e725cedc0d3a8d38eb6b0e2df7c52c0024a8 @juzna committed Oct 7, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 Nette/Diagnostics/Debugger.php
@@ -513,7 +513,9 @@ public static function _errorHandler($severity, $message, $file, $line, $context
return FALSE; // calls normal error handler to fill-in error_get_last()
} elseif (!self::$productionMode && (is_bool(self::$strictMode) ? self::$strictMode : ((self::$strictMode & $severity) === $severity))) {
- self::_exceptionHandler(new Nette\FatalErrorException($message, 0, $severity, $file, $line, $context));
+ $e = new Nette\FatalErrorException($message, 0, $severity, $file, $line, $context);
+// self::_exceptionHandler($e);
+ self::log($e);
}
static $types = array(

0 comments on commit 14e0e72

Please sign in to comment.