Tidy up logging

This commit is contained in:
Jonny Barnes 2017-03-24 12:32:08 +00:00
parent bdd9246b0e
commit af59735ab7

View file

@ -3,7 +3,6 @@
namespace App\Http\Controllers;
use App\Services\IndieAuthService;
use Illuminate\Support\Facades\Log;
use IndieAuth\Client as IndieClient;
use GuzzleHttp\Client as GuzzleClient;
use Illuminate\Http\{Request, Response};
@ -418,8 +417,6 @@ class MicropubClientController extends Controller
'query' => ['q' => $query],
]);
} catch (\GuzzleHttp\Exception\BadResponseException $e) {
Log::info($e->getResponse()->getBody());
return response()->json([
'error' => true,
'error_description' => 'The endpoint ' . $micropubEndpoint . ' returned a non-good response',