diff --git a/application/Espo/ORM/EntityManager.php b/application/Espo/ORM/EntityManager.php index 809bfe57b9..7f7d508128 100644 --- a/application/Espo/ORM/EntityManager.php +++ b/application/Espo/ORM/EntityManager.php @@ -182,7 +182,7 @@ class EntityManager public function getRepository($name) { if (!$this->hasRepository($name)) { - throw new Error("ORM: Repository '{$name}' does not exist."); + // TODO Throw error } if (empty($this->repositoryHash[$name])) {