Closed ceejayoz closed 11 years ago
Returning a pretty page for AJAX requests is unnecessary and not particularly helpful. Instead, we can use Whoops\Handler\JsonResponseHandler on AJAX requests to return useful JSON data about the error encountered.
Returning a pretty page for AJAX requests is unnecessary and not particularly helpful. Instead, we can use Whoops\Handler\JsonResponseHandler on AJAX requests to return useful JSON data about the error encountered.