Skip to content

Commit a79e818

Browse files
committed
Fix wrong initialization of debug logger in dev/tests bootstrap files
1 parent ee40290 commit a79e818

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev/tests/api-functional/framework/bootstrap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
$exceptionHandler = new \Magento\Framework\Logger\Handler\Exception();
2626
$loggerHandlers = [
2727
'system' => new \Magento\Framework\Logger\Handler\System($filesystem, $exceptionHandler),
28-
'debug' => new \Magento\Framework\Logger\Handler\Debug($filesystem, $exceptionHandler)
28+
'debug' => new \Magento\Framework\Logger\Handler\Debug($filesystem)
2929
];
3030
$shell = new \Magento\Framework\Shell(
3131
new \Magento\Framework\Shell\CommandRenderer(),

dev/tests/integration/framework/bootstrap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
$exceptionHandler = new \Magento\Framework\Logger\Handler\Exception();
3030
$loggerHandlers = [
3131
'system' => new \Magento\Framework\Logger\Handler\System($filesystem, $exceptionHandler),
32-
'debug' => new \Magento\Framework\Logger\Handler\Debug($filesystem, $exceptionHandler)
32+
'debug' => new \Magento\Framework\Logger\Handler\Debug($filesystem)
3333
];
3434
$shell = new \Magento\Framework\Shell(
3535
new \Magento\Framework\Shell\CommandRenderer(),

0 commit comments

Comments
 (0)