Skip to content

Commit d1d1372

Browse files
author
Mark Scherer
committed
Fix error handler for PHP7 and Cake2.8
1 parent b9ff6ff commit d1d1372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/Error/MyErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class MyErrorHandler extends ErrorHandler {
1111
* - 404s log to a different domain
1212
* - IP, Referer and Browser-Infos are added for better error debugging/tracing
1313
*/
14-
public static function handleException(Exception $exception) {
14+
public static function handleException($exception) {
1515
$config = Configure::read('Exception');
1616
if (!empty($config['log'])) {
1717
$message = sprintf("[%s] %s\n%s\n%s",

0 commit comments

Comments
 (0)