Skip to content

Commit 35ff627

Browse files
committed
MC-33069: Stabilize Unit tests
1 parent f4f0545 commit 35ff627

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)