Skip to content

Commit

Permalink
Make errors more informative.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 18, 2012
1 parent 04d606d commit c023efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Log/LogEngineCollection.php
Expand Up @@ -70,7 +70,7 @@ protected static function _getLogger($options) {
unset($options['engine']);
$class = App::classname($name, 'Log/Engine');
if (!$class) {
throw new Error\LogException(__d('cake_dev', 'Could not load class %s', $class));
throw new Error\LogException(__d('cake_dev', 'Could not load class %s', $name));
}
$logger = new $class($options);
return $logger;
Expand Down

0 comments on commit c023efa

Please sign in to comment.