mirror of
https://github.com/wassname/ray.git
synced 2026-08-07 11:27:43 +08:00
[cli] Fix issues with logging unescaped strings (#9960)
This commit is contained in:
@@ -102,8 +102,8 @@ def handle_boto_error(exc, msg, *args, **kwargs):
|
||||
cli_logger.error(*generic_message_args)
|
||||
cli_logger.newline()
|
||||
with cli_logger.verbatim_error_ctx("Boto3 error:"):
|
||||
cli_logger.verbose(vars(exc))
|
||||
cli_logger.error(exc)
|
||||
cli_logger.verbose("{}", str(vars(exc)))
|
||||
cli_logger.error("{}", str(exc))
|
||||
cli_logger.abort()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user