mirror of
https://github.com/instructkr/claw-code.git
synced 2026-10-18 00:00:11 +08:00
fix: make cc2 validator directory board error concise (#3179)
This commit is contained in:
1 parent
60f44d314b
commit
a88d52fe88
1 file changed
+3
@@ -49,6 +49,9 @@ def main() -> int:
|
||||
except FileNotFoundError:
|
||||
print(f"error: board not found at {board_path}")
|
||||
return 1
|
||||
except IsADirectoryError:
|
||||
print(f"error: board path is a directory: {board_path}")
|
||||
return 1
|
||||
except json.JSONDecodeError as exc:
|
||||
print(f"error: invalid board JSON at {board_path}: {exc}")
|
||||
return 1
|
||||
|
||||
Reference in new issue
Block a user