Skip to content

Commit

Permalink
fix: Corrected dictionary access in logging error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Simatwa committed May 6, 2024
1 parent 2814ed6 commit 70ef7d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def check_status(
return True
except Exception as e:
logging.error(
f'[{proxy_in_dict['https']}] {e.args[1] if e.args and len(e.args)>1 else e}'
f'[{proxy_in_dict["https"]}] {e.args[1] if e.args and len(e.args)>1 else e}'
)
return False

Expand Down

0 comments on commit 70ef7d0

Please sign in to comment.