diff --git a/generic_executor.py b/generic_executor.py index 1e309d2..8d5ce04 100644 --- a/generic_executor.py +++ b/generic_executor.py @@ -246,6 +246,7 @@ def server_stop(user: UserRecord, name: str) -> tuple[HTTPStatus, Union[str, Non exists: bool = mc_manager.stop_server(port) if exists: firebase_manager.update_server_running_state(user_id, name, False) + file_manager.log_action(user_id, name, "ServerStop") return HTTPStatus.OK, f"Successfully stopped server '{name}'." return HTTPStatus.OK, f"Server '{name}' already stopped." except Exception as e: