Update whoops to 2.0

This commit is contained in:
Timothy Warren 2016-01-11 14:57:43 -05:00
parent 2391ca14ca
commit e51159e7f3
2 changed files with 1 additions and 2 deletions

View File

@ -11,7 +11,7 @@
"aviat4ion/query": "2.5.*",
"container-interop/container-interop": "1.*",
"danielstjules/stringy": "~2.1",
"filp/whoops": "1.1.*",
"filp/whoops": "2.0.*",
"guzzlehttp/guzzle": "6.*",
"monolog/monolog": "1.*",
"psr/log": "~1.0",

View File

@ -66,7 +66,6 @@ $whoops->pushHandler($defaultHandler);
// Set up json handler for ajax errors
$jsonHandler = new JsonResponseHandler();
$jsonHandler->onlyForAjaxRequests(TRUE);
$whoops->pushHandler($jsonHandler);
// Register as the error handler