mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-17 08:00:13 +01:00
Merge branch 'main' into bugfix/fix-ci-testing
This commit is contained in:
commit
a512f9b290
47 changed files with 3356 additions and 113 deletions
|
|
@ -1546,7 +1546,11 @@ def _main() -> int:
|
|||
print("Error: commander is required. Provide --commander or a JSON config with a 'commander' field.")
|
||||
return 2
|
||||
|
||||
run(**resolved)
|
||||
try:
|
||||
run(**resolved)
|
||||
except CommanderValidationError as exc:
|
||||
print(str(exc))
|
||||
return 2
|
||||
return 0
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue