diff --git a/lib/Cake/Error/ErrorHandler.php b/lib/Cake/Error/ErrorHandler.php index a8867ae88de..208cefcfbc1 100644 --- a/lib/Cake/Error/ErrorHandler.php +++ b/lib/Cake/Error/ErrorHandler.php @@ -113,7 +113,7 @@ public static function handleException(Exception $exception) { if (!empty($config['log'])) { CakeLog::write(LOG_ERR, self::_getMessage($exception)); } - $renderer = $config['renderer']; + $renderer = isset($config['renderer']) ? $config['renderer'] : 'ExceptionRenderer'; if ($renderer !== 'ExceptionRenderer') { list($plugin, $renderer) = pluginSplit($renderer, true); App::uses($renderer, $plugin . 'Error');