Skip to content

Commit c2ef919

Browse files
author
Cari Spruiell
committed
MAGETWO-54479: [Email] Change Messaging for "502 Bad Gateway" error when "New Account" email is initiated with custom templates.
- changed error message
1 parent 3561b66 commit c2ef919

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Theme/Model/Design/Config/Validator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ public function validate(DesignConfigInterface $designConfig)
8383
if (isset($params['config_path']) && $params['config_path'] == $data['config_path']) {
8484
throw new LocalizedException(
8585
__(
86-
"Incorrect configuration for %templateName. Template body has a reference to itself",
86+
"The %templateName contains an incorrect configuration. The template has " .
87+
"a reference to itself. Either remove or change the reference.",
8788
["templateName" => $name]
8889
)
8990
);

0 commit comments

Comments
 (0)