From 1a7c2c9a9cb9489cd89ffd4099674b0f3456e42f Mon Sep 17 00:00:00 2001 From: Lucas Date: Sat, 9 Oct 2021 19:40:36 -0400 Subject: [PATCH] fixing issue from stupidity --- mta_manager/mta.py | 1 - server.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mta_manager/mta.py b/mta_manager/mta.py index 12d9b6f..5557118 100644 --- a/mta_manager/mta.py +++ b/mta_manager/mta.py @@ -35,7 +35,6 @@ class MTA(object): def start_updates(self): print("starting updates") - raise Exception("Testing failure case") loop = asyncio.new_event_loop() asyncio.set_event_loop(loop) loop.run_until_complete(self._get_updates()) diff --git a/server.py b/server.py index a12affb..91fb757 100644 --- a/server.py +++ b/server.py @@ -99,7 +99,7 @@ if __name__ == "__main__": try: mtaController.start_updates() except Exception as e: - logging.info(f"Exception found in update function - {e}") + app.logger.info(f"Exception found in update function - {e}") threadLock = threading.Lock()