Skip to content

Commit

Permalink
Improve configuration except block (#26)
Browse files Browse the repository at this point in the history
* Improve configuration except block

* Version bump
  • Loading branch information
BioWilko authored Apr 25, 2024
1 parent 51cba90 commit 8a093be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions varys/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ def __init__(self, profile, config_path):
try:
with open(config_path, "rt") as config_fh:
config_obj = json.load(config_fh)
except:
except Exception as e:
print(
"Configuration JSON does not appear to be valid or does not exist",
f"Varys Configuration JSON parsing failed with exception:\n{e}",
file=sys.stderr,
)
sys.exit(11)
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.0.1

0 comments on commit 8a093be

Please sign in to comment.