Niansuh commited on
Commit
60fe1c5
·
verified ·
1 Parent(s): 0f5b5b1

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -1
main.py CHANGED
@@ -403,7 +403,6 @@ class Blackbox:
403
  except json.JSONDecodeError as je:
404
  logger.error("Failed to parse search results JSON.")
405
  raise je
406
- break # Exit the retry loop if successful
407
  except ClientError as ce:
408
  logger.error(f"Client error occurred: {ce}. Retrying attempt {attempt + 1}/{retry_attempts}")
409
  if attempt == retry_attempts - 1:
 
403
  except json.JSONDecodeError as je:
404
  logger.error("Failed to parse search results JSON.")
405
  raise je
 
406
  except ClientError as ce:
407
  logger.error(f"Client error occurred: {ce}. Retrying attempt {attempt + 1}/{retry_attempts}")
408
  if attempt == retry_attempts - 1: