-
Notifications
You must be signed in to change notification settings - Fork 29
[BUG] cortex import exits 0 on JSON parse failure #1536
Copy link
Copy link
Closed
CortexLM/cortex-cli
#45Labels
Description
Project
cortex
Description
cortex import prints error on malformed JSON but exits with code 0 instead of non-zero
Error Message
Debug Logs
System Information
$ bounty info
Bounty Challenge v0.1.0
OS: Linux 6.8.0-87-generic (Ubuntu 24.04.3 LTS)
CPU: Intel Core i7
RAM: 16 GB
Cortex Version: 0.1.1Screenshots
No response
Steps to Reproduce
-
- Create malformed JSON file
-
- Run cortex import on it
-
- Check exit code
Expected Behavior
Should exit with non-zero code on parse failure
Actual Behavior
Exits with code 0 despite error
Additional Context
No response
Reactions are currently unavailable