Skip to content

Commit 14af54c

Browse files
committed
MAGETWO-62428: After clicking on refund button redirecting on isn't working page
1 parent 717ba2b commit 14af54c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/Service/CreditmemoService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public function refund(
182182
$connection->commit();
183183
} catch (\Exception $e) {
184184
$connection->rollBack();
185-
throw new \Magento\Framework\Exception\LocalizedException($e->getMessage());
185+
throw new \Magento\Framework\Exception\LocalizedException(__($e->getMessage()));
186186
}
187187

188188
return $creditmemo;

0 commit comments

Comments
 (0)