diff --git a/app/classes/shared/controller.py b/app/classes/shared/controller.py index 4d3eda07..cf849c40 100644 --- a/app/classes/shared/controller.py +++ b/app/classes/shared/controller.py @@ -160,7 +160,7 @@ class Controller: svr_data = self.get_server_data(server_id) server_name = svr_data['server_name'] - running = svr_obj.check_running(True) + running = svr_obj.check_running() # issue the stop command svr_obj.stop_threaded_server() diff --git a/app/classes/shared/tasks.py b/app/classes/shared/tasks.py index acb3fd90..f1a060c3 100644 --- a/app/classes/shared/tasks.py +++ b/app/classes/shared/tasks.py @@ -90,7 +90,7 @@ class TasksManager: os.remove(os.path.join(helper.root_dir, '.header')) controller.stop_all_servers() except: - pass + logger.info("Caught error during shutdown", exc_info=True) logger.info("***** Crafty Shutting Down *****\n\n") console.info("***** Crafty Shutting Down *****\n\n")