• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ArduPilot / MethodicConfigurator / 23459576880

23 Mar 2026 08:53PM UTC coverage: 93.801% (+0.002%) from 93.799%
23459576880

push

github

amilcarlucas
fix(reliability): replace SystemExit with catchable ParamFileError

SystemExit on malformed .param files kills the entire GUI with no
recovery. Users lose unsaved work with no opportunity to fix the file.

- Add ParamFileError(ValueError) exception class
- Replace all 9 raise SystemExit in data_model_par_dict.py
- Narrow try/except ValueError to only cover float() conversion,
  moving isfinite check outside to avoid subclass catch conflict
- Update all 5 callers to catch ParamFileError instead of SystemExit
- Update all tests across 5 test files to expect ParamFileError
- Wrap long import line in annotate_params.py

Closes #1416

Signed-off-by: Yash Goel <yashhzd@users.noreply.github.com>

1679 of 1748 branches covered (96.05%)

11076 of 11808 relevant lines covered (93.8%)

3.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

87.69
/annotate_params.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc