[cli] Maintain "old-style" for abort (#9943)

This commit is contained in:
Richard Liaw authored and GitHub committed 2020-08-05 20:37:29 -07:00
1 parent 9b90f7db67
commit 51bad84423
1 file changed
+3
+3
View File
@@ -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)