From 9b03f102f3fde8c924be888adc57751396ec2ee2 Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Mon, 11 Jan 2016 14:57:43 -0500 Subject: [PATCH] Update whoops to 2.0 --- composer.json | 2 +- index.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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