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