Skip to content

Commit d169dfb

Browse files
author
Sergey Shvets
committed
MAGETWO-56380: [Backport][Github][PR] Backtrace information #4529
(cherry picked from commit d90d870)
1 parent 6a8995b commit d169dfb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

app/code/Magento/Customer/Controller/Account/EditPost.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,7 @@ public function execute()
106106
} catch (InputException $e) {
107107
$this->messageManager->addException($e, __('Invalid input'));
108108
} 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);
109+
$this->messageManager->addException($e, __('We can\'t save the customer.'));
113110
}
114111

115112
if ($this->messageManager->getMessages()->getCount() > 0) {

0 commit comments

Comments
 (0)