зеркало из https://github.com/nextcloud/server.git
Merge pull request #35537 from nextcloud/fix/dependency-injection-error
Improve dependency injection error message
This commit is contained in:
Коммит
7adfdf5248
|
@ -108,7 +108,7 @@ class SimpleContainer implements ArrayAccess, ContainerInterface, IContainer {
|
|||
return $this->query($resolveName);
|
||||
} catch (QueryException $e2) {
|
||||
// don't lose the error we got while trying to query by type
|
||||
throw new QueryException($e2->getMessage(), (int) $e2->getCode(), $e);
|
||||
throw new QueryException($e->getMessage(), (int) $e->getCode(), $e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче