-
Notifications
You must be signed in to change notification settings - Fork 20
Quick fix for pr from SWAT team #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -20,7 +20,10 @@ class InvalidateLogger extends \Magento\Framework\Cache\InvalidateLogger | |||
*/ | |||
public function execute($invalidateInfo) | |||
{ | |||
$invalidateInfo['trace'] = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS); | |||
if (is_array($invalidateInfo)) { | |||
$invalidateInfo['trace'] = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're ok with not always having this info?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be is something to fix for SWAT team next time
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Alkar778 are we ok with this for now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This debug backtrace is the main goal of this improvement.
I will try to fix it in a couple of hours
6ee5174
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a cleaner way to handle this I think, but it's not worth messing with at this time
QA approved |
bump version 1.0.14
Description
Fix for the latest release.
https://jira.corp.magento.com/browse/MCLOUD-6156
Associated documentation updates
magento/devdocs#7462
Contribution checklist