mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Added errorhanler local config distributable file
This commit is contained in:
21
config/autoload/errorhandler.local.php.dist
Normal file
21
config/autoload/errorhandler.local.php.dist
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'services' => [
|
||||||
|
'invokables' => [
|
||||||
|
'Zend\Expressive\Whoops' => Whoops\Run::class,
|
||||||
|
'Zend\Expressive\WhoopsPageHandler' => Whoops\Handler\PrettyPageHandler::class,
|
||||||
|
],
|
||||||
|
'factories' => [
|
||||||
|
'Zend\Expressive\FinalHandler' => Zend\Expressive\Container\WhoopsErrorHandlerFactory::class,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
'whoops' => [
|
||||||
|
'json_exceptions' => [
|
||||||
|
'display' => true,
|
||||||
|
'show_trace' => true,
|
||||||
|
'ajax_only' => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
];
|
||||||
Reference in New Issue
Block a user