From b15e8ecafb98d296ead11dc76c79389ae4832bfe Mon Sep 17 00:00:00 2001 From: Matheus Zych Date: Fri, 27 Feb 2026 14:11:34 +0100 Subject: [PATCH] Removes try catch from ILIAS\UI\Implementation\Component\Launcher::getResult method --- .../UI/src/Implementation/Component/Launcher/Inline.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/components/ILIAS/UI/src/Implementation/Component/Launcher/Inline.php b/components/ILIAS/UI/src/Implementation/Component/Launcher/Inline.php index 6624b7cccc7c..332bd0e6af5f 100755 --- a/components/ILIAS/UI/src/Implementation/Component/Launcher/Inline.php +++ b/components/ILIAS/UI/src/Implementation/Component/Launcher/Inline.php @@ -145,11 +145,7 @@ public function withRequest(ServerRequestInterface $request): self public function getResult(): ?Result { - try { - return $this->modal?->getForm()?->getInputGroup()?->getContent(); - } catch (\Throwable) { - return null; - } + return $this->modal?->getForm()?->getInputGroup()?->getContent(); } public function getModal(): ?Modal\Roundtrip