add logging

This commit is contained in:
bakatrouble 2024-02-25 12:33:30 +03:00
parent 40177720c4
commit 7f64d44da8

View File

@ -144,6 +144,7 @@ async def check_updates():
post_versions: List[E621PostVersion] = []
logging.warning(f'Getting post versions from id {last_post_version}')
for page in count(1):
logging.warning(f'Loading page {page}')
post_versions_page = await e621.get_post_versions(last_post_version, page)
post_versions += post_versions_page
if not last_post_version or not post_versions_page: