Skip to content

Commit

Permalink
refactor: removed error print
Browse files Browse the repository at this point in the history
  • Loading branch information
chughes741 committed Jul 18, 2023
1 parent 0432aab commit 4837d6f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions openct/setup/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ def load_config(config_file: str) -> Config:
except FileNotFoundError:
print(f"Config file {config_file} not found. Please create it.")
sys.exit(1)
except TypeError as e:
print(e)
except TypeError:
print(f"Config file {config_file} is empty. Please populate it.")
sys.exit(1)

Expand Down

0 comments on commit 4837d6f

Please sign in to comment.