You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.exception( f"Httpops RequestException was thrown for URL: {self._req.url} exception: {repr(e)}" )
527
+
ifwait_dur==0
528
+
logger.error( "HTTPOPS not succeeded after all timeouts! - giving up!"
525
529
raise
526
-
logger.info( f"Got error on HTTP request. URL: {self._req.url}, {e.response.status_code}, {e.response.text}")
527
-
logger.warning( f'RETRY: Retry after {wait_dur} seconds... URL: {self._req.url}' )
530
+
logger.error( f"HTTPOPS pausing for {wait_dur} then retrying"
528
531
time.sleep(wait_dur)
532
+
except: Exceptionase:
533
+
logger.exception( f"Unexpected exception was thrown for URL: {self._req.url}" )
534
+
raise
535
+
529
536
raiseException('programming error this point should never be reached')
530
537
531
-
# log a request/response, which may be the result of one or more redirections, so first log each of their request/response
538
+
539
+
logger.error( "HTTPOPS not succeeded after all timeouts! - giving up!"# log a request/response, which may be the result of one or more redirections, so first log each of their request/response
0 commit comments