Skip to content

Fix error handling: 36 silent exceptions now log context#5

Merged
HarperZ9 merged 1 commit into
mainfrom
fix/error-handling-critical-paths
Mar 29, 2026
Merged

Fix error handling: 36 silent exceptions now log context#5
HarperZ9 merged 1 commit into
mainfrom
fix/error-handling-critical-paths

Conversation

@HarperZ9
Copy link
Copy Markdown
Owner

Core/hardware/sensorless: bare except Exception → logs error. 297 tests pass.

Core, hardware, and sensorless directories: every bare
except Exception now logs the error before returning None.
Pattern: except Exception as e: print(f"[module] context: {e}")

GUI files intentionally untouched (error suppression is UX).
All 297 tests still pass.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@HarperZ9 HarperZ9 merged commit 6493efa into main Mar 29, 2026
@HarperZ9 HarperZ9 deleted the fix/error-handling-critical-paths branch March 31, 2026 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant