Skip to content

Commit d1dc8d0

Browse files
committed
Pass argument to get config instance
1 parent 1bcf8c7 commit d1dc8d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/App.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ public static function debugger(string $instance = 'default') : Debugger
562562
*/
563563
protected static function setDebugger(string $instance) : Debugger
564564
{
565-
$config = static::config()->get('debugger');
565+
$config = static::config()->get('debugger', $instance);
566566
$service = new Debugger();
567567
if (isset($config['debugbar_view'])) {
568568
$service->setDebugbarView($config['debugbar_view']);
@@ -605,7 +605,7 @@ public static function exceptionHandler(string $instance = 'default') : Exceptio
605605
*/
606606
protected static function setExceptionHandler(string $instance) : ExceptionHandler
607607
{
608-
$config = static::config()->get('exceptionHandler');
608+
$config = static::config()->get('exceptionHandler', $instance);
609609
$environment = $config['environment'] ?? ExceptionHandler::PRODUCTION;
610610
$logger = null;
611611
if (isset($config['logger_instance'])) {

0 commit comments

Comments
 (0)