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()