Tidy up logging
This commit is contained in:
parent
bdd9246b0e
commit
af59735ab7
1 changed files with 0 additions and 3 deletions
|
@ -3,7 +3,6 @@
|
||||||
namespace App\Http\Controllers;
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
use App\Services\IndieAuthService;
|
use App\Services\IndieAuthService;
|
||||||
use Illuminate\Support\Facades\Log;
|
|
||||||
use IndieAuth\Client as IndieClient;
|
use IndieAuth\Client as IndieClient;
|
||||||
use GuzzleHttp\Client as GuzzleClient;
|
use GuzzleHttp\Client as GuzzleClient;
|
||||||
use Illuminate\Http\{Request, Response};
|
use Illuminate\Http\{Request, Response};
|
||||||
|
@ -418,8 +417,6 @@ class MicropubClientController extends Controller
|
||||||
'query' => ['q' => $query],
|
'query' => ['q' => $query],
|
||||||
]);
|
]);
|
||||||
} catch (\GuzzleHttp\Exception\BadResponseException $e) {
|
} catch (\GuzzleHttp\Exception\BadResponseException $e) {
|
||||||
Log::info($e->getResponse()->getBody());
|
|
||||||
|
|
||||||
return response()->json([
|
return response()->json([
|
||||||
'error' => true,
|
'error' => true,
|
||||||
'error_description' => 'The endpoint ' . $micropubEndpoint . ' returned a non-good response',
|
'error_description' => 'The endpoint ' . $micropubEndpoint . ' returned a non-good response',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue