Update whoops to 2.0

This commit is contained in:
Timothy Warren 2016-01-11 14:57:43 -05:00
parent 816a309f18
commit 9b03f102f3
2 changed files with 1 additions and 2 deletions

View File

@ -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",

View File

@ -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