diff --git a/src/Forms/Form.php b/src/Forms/Form.php index dac889674..f96701572 100644 --- a/src/Forms/Form.php +++ b/src/Forms/Form.php @@ -600,7 +600,10 @@ public function __toString() try { return $this->getRenderer()->render($this); + } catch (\Throwable $e) { } catch (\Exception $e) { + } + if (isset($e)) { if (func_num_args()) { throw $e; }