diff --git a/lib/Cake/Error/ErrorHandler.php b/lib/Cake/Error/ErrorHandler.php index 73fa58947..62751a44c 100644 --- a/lib/Cake/Error/ErrorHandler.php +++ b/lib/Cake/Error/ErrorHandler.php @@ -137,7 +137,7 @@ class ErrorHandler { * @param Exception $exception Exception instance * @return string Formatted message */ - protected function _getMessage($exception) { + protected static function _getMessage($exception) { $message = sprintf("[%s] %s", get_class($exception), $exception->getMessage()