precache-debug

This commit is contained in:
Untone 2024-08-07 11:53:31 +03:00
parent 520b39cb0b
commit 2a21decc94

3
cache/precache.py vendored
View File

@ -108,4 +108,7 @@ async def precache_data():
logger.error(f"fail caching {author}") logger.error(f"fail caching {author}")
logger.info(f"{len(authors)} authors and their followings precached") logger.info(f"{len(authors)} authors and their followings precached")
except Exception as exc: except Exception as exc:
import traceback
traceback.print_exc()
logger.error(f"Error in precache_data: {exc}") logger.error(f"Error in precache_data: {exc}")