Skip to content

Commit

Permalink
MAGETWO-65429: [GitHub][PR] Fix issue #8709 #8768
Browse files Browse the repository at this point in the history
 - Merge Pull Request #8768 from renatocason/magento2:hotfix/8709_di_exception_description
  • Loading branch information
Oleksii Korshenko committed Mar 2, 2017
2 parents 93f96f5 + e7b0a10 commit 52da925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/Magento/Framework/Code/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function generateClass($className)
$this->tryToLoadSourceClass($className, $generator);
if (!($file = $generator->generate())) {
$errors = $generator->getErrors();
throw new \RuntimeException(implode(' ', $errors));
throw new \RuntimeException(implode(' ', $errors) . ' in [' . $className . ']');
}
if (!$this->definedClasses->isClassLoadableFromMemory($className)) {
$this->_ioObject->includeFile($file);
Expand Down

0 comments on commit 52da925

Please sign in to comment.