Skip to content

Commit

Permalink
3.5.2: Magento code standards minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ebanolopes committed Feb 5, 2020
1 parent d179253 commit 847e845
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Observer/Debug/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,16 @@ public function execute(Observer $observer)

if (empty($nonMagentoModules) == false) {
$nonMagentoModulesList = implode(', ', array_keys($nonMagentoModules));
$this->logger->debug("WARNING: non Magento modules found on backtrace: {$nonMagentoModulesList}");
$this->logger->debug("WARNING: non Magento modules found on backtrace: " .
$nonMagentoModulesList);
}

$debugBacktraceLog = implode("\n", $debugBacktraceLog);
$this->logger->debug("Backtrace: \n{$debugBacktraceLog}\n\n");
}
}
} catch (\Exception $e) {
$this->logger->debug("State debug failed: " . $e->getMessage());
}
}
}
}

0 comments on commit 847e845

Please sign in to comment.