Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Commit

Permalink
Fix for typo that caused a crash: error.warning->logger.warning (#25)
Browse files Browse the repository at this point in the history
#24

Co-authored-by: Maykeye <Maykeye@users.noreply.github.com>
  • Loading branch information
Maykeye and Maykeye committed Mar 15, 2023
1 parent b2f955c commit 57f7dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def bridge(self,
return_error = None
loop_retry = 0
except (urllib3.exceptions.MaxRetryError, requests.exceptions.ConnectionError, requests.exceptions.ReadTimeout):
error.warning(f"Server {cluster} unavailable during submit. Waiting 10 seconds...")
logger.warning(f"Server {cluster} unavailable during submit. Waiting 10 seconds...")
loop_retry += 1
time.sleep(10)
continue
Expand Down

0 comments on commit 57f7dac

Please sign in to comment.