Skip to content

Commit c5e4b88

Browse files
committed
Prefixed ! to 429 logs
1 parent 82391d6 commit c5e4b88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils/update_root_shield.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def get_downloads(pkg: str, max_retries: int = 5, get_delay: int = 2) -> int:
3737
except HTTPError as err:
3838
if err.code == 429: # rate limited
3939
retry_delay = (idx +1) *2 # exponentially back off
40-
print(f'{pkg}: Rate limited. Retrying in {retry_delay}s...')
40+
print(f'! {pkg}: Rate limited. Retrying in {retry_delay}s...')
4141
sleep(retry_delay)
4242
else:
4343
print(f'{pkg}: ERROR ({err.code})')

0 commit comments

Comments
 (0)