File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -319,16 +319,16 @@ public function executeRequest($handle, array $options = array())
319319 ));
320320 $ header = '' ;
321321
322+ self ::logProfiling ($ info );
322323 $ retries ++;
323324 if ($ retries < $ this ->retries_max ) {
324- self ::logProfiling ($ info );
325325 if ($ this ->log_retries ) {
326326 $ this ->logError ("retrying request - ( {$ info ['errorno ' ]}) {$ info ['error ' ]} :: {$ info ['url ' ]}" );
327327 }
328328 usleep ($ this ->retry_delay );
329329 return $ this ->makeRequest ($ info ['url ' ], $ options );
330330 } else {
331- $ this ->logError ("max retries ( {$ retries }) reached - ( {$ info ['errorno ' ]}) {$ cinfo ['error ' ]} :: {$ cinfo ['url ' ]}" );
331+ $ this ->logError ("max retries ( {$ retries }) reached - ( {$ info ['errorno ' ]}) {$ info ['error ' ]} :: {$ info ['url ' ]}" );
332332 }
333333 } else {
334334 $ info ['is_success ' ] = true ;
You can’t perform that action at this time.
0 commit comments