Skip to content

Commit

Permalink
Raise typer.Exit, minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
chongshenng committed Sep 23, 2024
1 parent 62751a1 commit d6b49c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/py/flwr/cli/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ def log(
fg=typer.colors.RED,
bold=True,
)
sys.exit()
else:
_log_with_superexec(federation_config, run_id, stream)
raise typer.Exit(code=1)

_log_with_superexec(federation_config, run_id, stream)


# pylint: disable-next=too-many-branches
Expand Down

0 comments on commit d6b49c9

Please sign in to comment.