Skip to content

Commit

Permalink
chore: remove useless print
Browse files Browse the repository at this point in the history
  • Loading branch information
lihsai0 committed Oct 16, 2024
1 parent a78e11a commit d3c4ed8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Qiniu/Storage/ArgusManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ public function censorStatus($jobid)
$url = $scheme . Config::ARGUS_HOST . "/v3/jobs/video/$jobid";
$response = $this->get($url);
if (!$response->ok()) {
print("statusCode: " . $response->statusCode);
return array(null, new Error($url, $response));
}
return array($response->json(), null);
Expand Down Expand Up @@ -118,7 +117,6 @@ private function post($url, $body)
$headers['Content-Type'] = 'application/json';
$ret = Client::post($url, $body, $headers, $this->proxy->makeReqOpt());
if (!$ret->ok()) {
print("statusCode: " . $ret->statusCode);
return array(null, new Error($url, $ret));
}
$r = ($ret->body === null) ? array() : $ret->json();
Expand Down

0 comments on commit d3c4ed8

Please sign in to comment.