Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Adyen Magento2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shared Libs
Adyen Magento2
Commits
dd4a3a43
Commit
dd4a3a43
authored
Dec 05, 2017
by
Giorgos Adam
Committed by
GitHub
Dec 05, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #220 from Adyen/cron-logging
Added detailed cron exception logging
parents
9ee82d39
b5574c05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
Model/Cron.php
Model/Cron.php
+10
-0
No files found.
Model/Cron.php
View file @
dd4a3a43
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment