mirror of
https://github.com/codex-storage/bittorrent-benchmarks.git
synced 2025-02-09 01:33:29 +00:00
feat: print offending input when expansion fails
This commit is contained in:
parent
4e867e4602
commit
e92eb5f9b5
@ -33,7 +33,8 @@ if __name__ == "__main__":
|
|||||||
try:
|
try:
|
||||||
matrix_str = json.loads(sys.argv[1])
|
matrix_str = json.loads(sys.argv[1])
|
||||||
except JSONDecodeError as err:
|
except JSONDecodeError as err:
|
||||||
print(f"Error decoding JSON: {err}")
|
print(f"Error decoding JSON: ", err)
|
||||||
|
print("Input:", sys.argv[1])
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
print(json.dumps(ParameterMatrix(matrix_str).expand()))
|
print(json.dumps(ParameterMatrix(matrix_str).expand()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user