We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit b5574c05 authored by Giorgos Adam's avatar Giorgos Adam

Added detailed cron exception logging

parent 2e87b22a
......@@ -232,6 +232,16 @@ class Cron
* @return void
*/
public function processNotification()
{
try {
$this->execute();
} catch(\Exception $e) {
$this->_adyenLogger->addAdyenNotificationCronjob($e->getMessage() . "\n" . $e->getTraceAsString());
throw $e;
}
}
public function execute()
{
// needed for Magento < 2.2.0 https://github.com/magento/magento2/pull/8413
$renderer = Phrase::getRenderer();
......
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