From 55989c0f84dd8ceab64dbe9850ed804f8f13fefa Mon Sep 17 00:00:00 2001 From: Ching Date: Fri, 11 Jun 2021 11:30:11 +0800 Subject: [PATCH] [M]add logger --- jandan_toot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jandan_toot.py b/jandan_toot.py index 8aa34b5..a83b5dd 100644 --- a/jandan_toot.py +++ b/jandan_toot.py @@ -148,6 +148,6 @@ while True: toot(proxy=usable_proxy) time.sleep(20) except Exception as ex: - logger.error(traceback.format_exc()) + logger.error('!!! %s, %s', time.asctime(), traceback.format_exc()) time.sleep(10)