mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
[cli] Maintain "old-style" for abort (#9943)
This commit is contained in:
parent
9b90f7db67
commit
51bad84423
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue