Commit 29dbe5e3 authored by Maikel Koek's avatar Maikel Koek

[VM] B: Print exception message only when failing to save Vault token at 3D secure

Printing the entire exception can run out of memory, which causes a 500 server error
parent a48574f8
......@@ -164,7 +164,7 @@ class Validate3d extends \Magento\Framework\App\Action\Action
];
$paymentToken->setTokenDetails(json_encode($details));
} catch(\Exception $e) {
$this->_adyenLogger->error(print_r($e, true));
$this->_adyenLogger->error((string)$e->getMessage());
}
$this->_redirect('checkout/onepage/success', ['_query' => ['utm_nooverride' => '1']]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment