debug-stat

This commit is contained in:
Tony Rewin 2023-10-06 01:15:23 +03:00
parent 78a3354d5f
commit d34597e349

View File

@ -203,6 +203,9 @@ class ViewedStorage:
await self.update_pages() await self.update_pages()
failed = 0 failed = 0
except Exception: except Exception:
import traceback
traceback.print_exc()
failed += 1 failed += 1
print("[stat] - update failed #%d, wait 10 seconds" % failed) print("[stat] - update failed #%d, wait 10 seconds" % failed)
if failed > 3: if failed > 3: