Skip to content

Commit 796f90b

Browse files
committed
Merge remote-tracking branch 'origin/MC-33069' into 2.4-develop-php74-pr41
2 parents 80de6b9 + e6f1b90 commit 796f90b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/internal/Magento/Framework/Phrase.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,7 @@ public function render()
101101
{
102102
try {
103103
return self::getRenderer()->render([$this->text], $this->getArguments());
104-
} catch (\Error $e) {
105-
return $this->getText();
106-
} catch (\Exception $e) {
104+
} catch (\Throwable $e) {
107105
return $this->getText();
108106
}
109107
}

0 commit comments

Comments
 (0)