Fix #75 for new inheritance system

This commit is contained in:
Ivan Shalganov
2014-04-10 01:49:15 +04:00
parent 654b259b42
commit 218efdffe6
6 changed files with 32 additions and 3 deletions

View File

@@ -202,7 +202,7 @@ class Render extends \ArrayObject
public function getMacro($name)
{
if (empty($this->_macros[$name])) {
throw new \RuntimeException('macro not found');
throw new \RuntimeException('macro '.$name.' not found');
}
return $this->_macros[$name];
}