mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 19:00:36 +08:00
[cli] Maintain "old-style" for abort (#9943)
This commit is contained in:
committed by
SangBin Cho
parent
b0ad10c936
commit
9c19b14b1e
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user