From a1dfffa36c6459811b916c6a992cba62738b9dc7 Mon Sep 17 00:00:00 2001 From: foolcage <5533061@qq.com> Date: Fri, 13 Dec 2024 18:15:44 +0800 Subject: [PATCH] Fix typo --- src/zvt/recorders/wb/wb_economy_recorder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zvt/recorders/wb/wb_economy_recorder.py b/src/zvt/recorders/wb/wb_economy_recorder.py index 2c7cddd2..d830c6d8 100644 --- a/src/zvt/recorders/wb/wb_economy_recorder.py +++ b/src/zvt/recorders/wb/wb_economy_recorder.py @@ -23,7 +23,7 @@ def record(self, entity, start, end, size, timestamps): df_to_db(df=df, data_schema=self.data_schema, provider=self.provider, force_update=self.force_update) # 一些地方获取不到数据会报错 except Exception as e: - print(e)s + self.logger.warning(f"Failed to get {entity.name} economy data", e) if __name__ == "__main__":