def run(self): while True: try: self.__pull_data_from_huobi(self.parent_dir, self.time_window) except Exception as e: self.logger.error("Unexpected Exception: " + str(e)) time.sleep(Utils.get_seconds_from_time_window(self.time_window))
def run(self): while True: try: self.__pull_data_from_huobi(self.parent_dir, self.time_window) except Exception as e: self.logger.error("Unexpected Exception: " + str(e)) time.sleep(Utils.get_seconds_from_time_window(self.time_window))