Skip to content

Commit

Permalink
Minor logging tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Luc45 committed Mar 7, 2024
1 parent 11a7fbd commit 3dd40fd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified qit
Binary file not shown.
2 changes: 1 addition & 1 deletion src/src/RequestBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ public function request(): string {
} else {
if ( $this->retry > 0 ) {
$this->retry --;
App::make( Output::class )->writeln( sprintf( '<comment>Request failed... Retrying (HTTP Status Code %s)</comment>', $response_status_code ) );
App::make( Output::class )->writeln( sprintf( '<comment>Request failed... Retrying (HTTP Status Code %s) %s</comment>', $response_status_code, $error_message ) );

// Between 1 and 5s.
sleep( rand( 1, 5 ) );
Expand Down

0 comments on commit 3dd40fd

Please sign in to comment.