diff --git a/python/ray/autoscaler/cli_logger.py b/python/ray/autoscaler/cli_logger.py index 9d0571fa1..b686bfb9c 100644 --- a/python/ray/autoscaler/cli_logger.py +++ b/python/ray/autoscaler/cli_logger.py @@ -328,6 +328,9 @@ class _CliLogger(): Print an error and throw an exception to terminate the program (the exception will not print a message). """ + if self.old_style: + return + if msg is not None: self.error(msg, *args, **kwargs)