Skip to content

Commit ea0f174

Browse files
committed
commit
1 parent 491d41d commit ea0f174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/base/controllers/Frontend/Commerce/Cart/Discount.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function beforeRender() : BasePage|Response
132132
);
133133
} catch (\Exception $e) {
134134
throw new RuntimeException(
135-
$this->getUtils()->translate('Failed to apply discount: ' . $e->getMessage(), locale: $this->getCurrentLocale())
135+
$this->getUtils()->translate('Failed to apply discount: %s', [$e->getMessage()], locale: $this->getCurrentLocale())
136136
);
137137
}
138138
}

0 commit comments

Comments
 (0)