Merge 30398c5068 into cd315cbceb
This commit is contained in:
commit
152fbe29ff
|
|
@ -1549,6 +1549,11 @@ def run():
|
|||
else:
|
||||
print(f"[red]Error: {formatted}[/]")
|
||||
|
||||
# A predefined action is not retried, so without this, a failed
|
||||
# headless run would exit as if it had succeeded.
|
||||
if settings.model_action is not None:
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def main():
|
||||
rich.traceback.install()
|
||||
|
|
|
|||
Loading…
Reference in New Issue