Skip to content

Commit 61c4328

Browse files
author
OlgaVasyltsun
committed
MC-17755: Message isn't displayed on the error after connection reset and placing order
1 parent d87af0c commit 61c4328

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/js/model/error-processor.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ define([
2929
try {
3030
error = JSON.parse(response.responseText);
3131
} catch (exception) {
32-
error = { message: $t('Something went wrong with your request. Please try again later.') };
32+
error = {
33+
message: $t('Something went wrong with your request. Please try again later.')
34+
};
3335
}
3436
messageContainer.addErrorMessage(error);
3537
}

0 commit comments

Comments
 (0)