We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a8995b commit d169dfbCopy full SHA for d169dfb
app/code/Magento/Customer/Controller/Account/EditPost.php
@@ -106,10 +106,7 @@ public function execute()
106
} catch (InputException $e) {
107
$this->messageManager->addException($e, __('Invalid input'));
108
} catch (\Exception $e) {
109
- $message = __('We can\'t save the customer.')
110
- . $e->getMessage()
111
- . '<pre>' . $e->getTraceAsString() . '</pre>';
112
- $this->messageManager->addException($e, $message);
+ $this->messageManager->addException($e, __('We can\'t save the customer.'));
113
}
114
115
if ($this->messageManager->getMessages()->getCount() > 0) {
0 commit comments