aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework/Utility
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2025-04-29 17:32:15 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2025-04-29 17:32:15 +0200
commit77455a0357a1e795adfbfbe741dd1c1eb8cd6d4d (patch)
treea2bfc97d5636e57faa06a4cf9014b580a68c8584 /lib/private/AppFramework/Utility
parent07b03c426f5d7cda94422cd87515aab307388491 (diff)
downloadnextcloud-server-77455a0357a1e795adfbfbe741dd1c1eb8cd6d4d.tar.gz
nextcloud-server-77455a0357a1e795adfbfbe741dd1c1eb8cd6d4d.zip
fix: Fix several side effects of lazy ghosts
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/AppFramework/Utility')
-rw-r--r--lib/private/AppFramework/Utility/SimpleContainer.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/AppFramework/Utility/SimpleContainer.php b/lib/private/AppFramework/Utility/SimpleContainer.php
index 0e46dd71e0d..4558c7417cf 100644
--- a/lib/private/AppFramework/Utility/SimpleContainer.php
+++ b/lib/private/AppFramework/Utility/SimpleContainer.php
@@ -100,6 +100,9 @@ class SimpleContainer implements ArrayAccess, ContainerInterface, IContainer {
if ($parameter->allowsNull() && ($parameterType instanceof ReflectionNamedType)) {
return null;
}
+
+ // don't lose the error we got while trying to query by type
+ throw new QueryException($e->getMessage(), (int)$e->getCode(), $e);
}
}