Skip to content

Commit

Permalink
Improve error message (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
schuessf committed Jan 27, 2025
1 parent 519c68e commit 68ac2e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion releaseScripts/default/adds/Ultimate.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,8 @@ def check_witness_type(witness, type):
elif witness.endswith(".graphml"):
valid = check_witness_type_graphml(witness, type)
else:
print("Unsupported witness type", witness.rpartition(".")[2])
print(f'Unexpected witness file ending .{witness.rpartition(".")[2]}. '
'The witness has to end with .yml, .yaml, or .graphml.)
if not valid:
sys.exit(ExitCode.FAIL_WRONG_WITNESS_TYPE)

Expand Down

0 comments on commit 68ac2e8

Please sign in to comment.