Update whoops to 2.0
This commit is contained in:
parent
2391ca14ca
commit
e51159e7f3
@ -11,7 +11,7 @@
|
|||||||
"aviat4ion/query": "2.5.*",
|
"aviat4ion/query": "2.5.*",
|
||||||
"container-interop/container-interop": "1.*",
|
"container-interop/container-interop": "1.*",
|
||||||
"danielstjules/stringy": "~2.1",
|
"danielstjules/stringy": "~2.1",
|
||||||
"filp/whoops": "1.1.*",
|
"filp/whoops": "2.0.*",
|
||||||
"guzzlehttp/guzzle": "6.*",
|
"guzzlehttp/guzzle": "6.*",
|
||||||
"monolog/monolog": "1.*",
|
"monolog/monolog": "1.*",
|
||||||
"psr/log": "~1.0",
|
"psr/log": "~1.0",
|
||||||
|
@ -66,7 +66,6 @@ $whoops->pushHandler($defaultHandler);
|
|||||||
|
|
||||||
// Set up json handler for ajax errors
|
// Set up json handler for ajax errors
|
||||||
$jsonHandler = new JsonResponseHandler();
|
$jsonHandler = new JsonResponseHandler();
|
||||||
$jsonHandler->onlyForAjaxRequests(TRUE);
|
|
||||||
$whoops->pushHandler($jsonHandler);
|
$whoops->pushHandler($jsonHandler);
|
||||||
|
|
||||||
// Register as the error handler
|
// Register as the error handler
|
||||||
|
Loading…
Reference in New Issue
Block a user