Skip to content

Commit b15e8ec

Browse files
committed
Removes try catch from ILIAS\UI\Implementation\Component\Launcher::getResult method
1 parent 1053151 commit b15e8ec

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

  • components/ILIAS/UI/src/Implementation/Component/Launcher

components/ILIAS/UI/src/Implementation/Component/Launcher/Inline.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,7 @@ public function withRequest(ServerRequestInterface $request): self
145145

146146
public function getResult(): ?Result
147147
{
148-
try {
149-
return $this->modal?->getForm()?->getInputGroup()?->getContent();
150-
} catch (\Throwable) {
151-
return null;
152-
}
148+
return $this->modal?->getForm()?->getInputGroup()?->getContent();
153149
}
154150

155151
public function getModal(): ?Modal\Roundtrip

0 commit comments

Comments
 (0)