Skip to content

Commit

Permalink
Moved error message in wrapper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Rory Barnes committed Apr 23, 2024
1 parent 2c0880b commit 7e5d898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vplanet/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ def run(
try:
subprocess.check_output(args, cwd=path)
except subprocess.CalledProcessError as e:
print(e)
error = True
if error:
print(e)
raise VPLANETError("Error running VPLANET.")

# Grab the output
Expand Down

0 comments on commit 7e5d898

Please sign in to comment.