mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 15:06:06 +00:00
fix injectable factory
This commit is contained in:
@@ -129,7 +129,7 @@ class InjectableFactory
|
||||
} catch (\Throwable $e) {
|
||||
$badClassName = $param->getType()->getName();
|
||||
// this trick allows to log syntax errors
|
||||
new $badClassName();
|
||||
class_exists($badClassName);
|
||||
throw new Error("InjectableFactory: " . $e->getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user