diff --git a/composer.json b/composer.json index 5a94dc29..3d318004 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/index.php b/index.php index ad7e532a..88cc02d5 100644 --- a/index.php +++ b/index.php @@ -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