Skip to content

Commit 76fab15

Browse files
authored
MAGETWO-65429: [GitHub][PR] Fix issue #8709 #8768
2 parents 87469a5 + 52da925 commit 76fab15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Code/Generator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function generateClass($className)
112112
$this->tryToLoadSourceClass($className, $generator);
113113
if (!($file = $generator->generate())) {
114114
$errors = $generator->getErrors();
115-
throw new \RuntimeException(implode(' ', $errors));
115+
throw new \RuntimeException(implode(' ', $errors) . ' in [' . $className . ']');
116116
}
117117
if (!$this->definedClasses->isClassLoadableFromMemory($className)) {
118118
$this->_ioObject->includeFile($file);

0 commit comments

Comments
 (0)