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 dd4a3a43 authored by Giorgos Adam's avatar Giorgos Adam Committed by GitHub

Merge pull request #220 from Adyen/cron-logging

Added detailed cron exception logging
parents 9ee82d39 b5574c05
......@@ -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