Skip to content

Commit 75479d2

Browse files
Tweak error/exception handler registration
1 parent 9ebe91c commit 75479d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

EventListener/DebugHandlersListener.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function __construct(?callable $exceptionHandler = null, ?LoggerInterface
5757
$deprecationLogger = $fileLinkFormat;
5858
}
5959

60-
$handler = set_exception_handler('is_int');
60+
$handler = set_exception_handler('var_dump');
6161
$this->earlyHandler = \is_array($handler) ? $handler[0] : null;
6262
restore_exception_handler();
6363

@@ -84,7 +84,7 @@ public function configure(?object $event = null)
8484
$this->firstCall = $this->hasTerminatedWithException = false;
8585
$hasRun = null;
8686

87-
$handler = set_exception_handler('is_int');
87+
$handler = set_exception_handler('var_dump');
8888
$handler = \is_array($handler) ? $handler[0] : null;
8989
restore_exception_handler();
9090

0 commit comments

Comments
 (0)