diff --git a/tfworker/cli.py b/tfworker/cli.py index 1463bb6..b0bc11d 100644 --- a/tfworker/cli.py +++ b/tfworker/cli.py @@ -229,11 +229,7 @@ def cli(context, **kwargs): validate_host() validate_working_dir(kwargs.get("working_dir", None)) config_file = kwargs["config_file"] - try: - context.obj = RootCommand(args=kwargs) - except FileNotFoundError: - click.secho(f"configuration file {config_file} not found", fg="red", err=True) - raise SystemExit(1) + context.obj = RootCommand(args=kwargs) @cli.command()