Skip to content

Commit

Permalink
Фикс: логирование get-запросов в API-клиенте
Browse files Browse the repository at this point in the history
  • Loading branch information
jhaoda committed Oct 5, 2019
1 parent 006bbe7 commit 818dbb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Dispatching/Http/ApiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ private function buildHttpRequest(string $method, string $path, ?Arrayable $payl
if ($method === 'GET') {
$query = guzzle_build_query($data);

$this->logger->info('pochta.ru Dispatching request: '.self::API_URL.$path."?{$query}");

return guzzle_modify_request($request, \compact('query'));
}

Expand Down

0 comments on commit 818dbb0

Please sign in to comment.