Skip to content

Commit f327f1a

Browse files
committed
yii error handler
1 parent 7a40911 commit f327f1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/app/src/Application/Kernel.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
use Spiral\Tokenizer\Bootloader\TokenizerListenerBootloader;
2626
use Spiral\Twig\Bootloader\TwigBootloader;
2727
use Spiral\Views\Bootloader\ViewsBootloader;
28+
use Spiral\YiiErrorHandler\Bootloader\YiiErrorHandlerBootloader;
2829

2930
/**
3031
* @psalm-suppress ClassMustBeFinal
@@ -49,6 +50,7 @@ public function defineBootloaders(): array
4950
return [
5051
// Logging and exceptions handling
5152
MonologBootloader::class,
53+
YiiErrorHandlerBootloader::class,
5254
Bootloader\ExceptionHandlerBootloader::class,
5355

5456
// Application specific logs

0 commit comments

Comments
 (0)