Skip to content

Commit

Permalink
dont send $requestOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
zajca committed Feb 4, 2025
1 parent ab68e9c commit 9a6aff7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Keboola/StorageApi/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -2997,7 +2997,7 @@ protected function request($method, $url, $options = [], $responseFileName = nul
}

try {
$this->log('[' . $method . '] ' . $url, $requestOptions);
$this->log('[' . $method . '] ' . $url);
/**
* @var ResponseInterface $response
*/
Expand Down Expand Up @@ -3058,7 +3058,7 @@ private function handleAsyncTask(Response $jobCreatedResponse)
if ($job === null) {
throw new ClientException('StorageJob expected');
}
$this->log('Job ' . $job['id'] . 'result', $job);
$this->log('Job ' . $job['id'] . ' '. $job['status'], $job);
$this->handleJobError($job);
return $job['results'];
}
Expand Down Expand Up @@ -3136,7 +3136,7 @@ private function log($message, $context = [])
if ($this->debug !== null) {
$context['debug'] = $this->debug;
}
$this->logger->debug($message, $context);
$this->logger->debug($message, (array) json_encode($context));
}

/**
Expand Down

0 comments on commit 9a6aff7

Please sign in to comment.