From fb846530f25730339cecaf5f68c47225ee2ddbc9 Mon Sep 17 00:00:00 2001 From: pur1fy <2274916027@qq.com> Date: Sun, 2 Jun 2024 14:33:26 +0800 Subject: [PATCH] fix : bug due to commit : [50178fa58c330063220cbc19d1c2550e11752430] --- core/Baas_thread.py | 2 +- module/rewarded_task.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/Baas_thread.py b/core/Baas_thread.py index eb14f4cb1..2dcb87463 100644 --- a/core/Baas_thread.py +++ b/core/Baas_thread.py @@ -304,7 +304,7 @@ def _init_emulator(self) -> bool: self.logger.info("--------Emulator Init Finished----------") return True except Exception as e: - self.logger.error(e) + self.logger.error(e.__str__()) self.logger.error("Emulator initialization failed") return False diff --git a/module/rewarded_task.py b/module/rewarded_task.py index d9d09969e..48c5ae704 100644 --- a/module/rewarded_task.py +++ b/module/rewarded_task.py @@ -50,7 +50,7 @@ def implement(self): elif res == "0SWEEPABLE": self.logger.warning("0 SWEEPABLE") - self.logger.info(self.rewarded_task_status) + self.logger.info("Rewarded task status : " + self.rewarded_task_status.__str__()) return True