diff --git a/src/bb-di.php b/src/bb-di.php index 5fcc64acc..abc9e1f68 100644 --- a/src/bb-di.php +++ b/src/bb-di.php @@ -201,7 +201,7 @@ $di['api'] = $di->protect(function($role) use($di) { break; default : - throw new Exception('Unrecognized Handler type: '.$this->type); + throw new Exception('Unrecognized Handler type: '.$role); } $api = new Api_Handler($identity); $api->setDi($di);