diff --git a/services/core.py b/services/core.py index 9f10d7a..c70c124 100644 --- a/services/core.py +++ b/services/core.py @@ -95,12 +95,12 @@ class CacheStorage: self = CacheStorage while True: try: - print("[services.core] - updating views...") + print("[services.core] - updating profiles data...") await self.update_authors() failed = 0 - except Exception: + except Exception as er: failed += 1 - print("[services.core] - update failed #%d, wait 10 seconds" % failed) + print(f"[services.core] {er} - update failed #{failed}, wait 10 seconds") if failed > 3: print("[services.core] - not trying to update anymore") break