Coding

Error Handling Audit

Paste a diff to catch the error-handling bugs that trigger 2am incidents — the ones that don't throw or log, just quietly corrupt state or return wrong data. It scans for swallowed exceptions, unchecked error returns, missing error paths, and logged-but-ignored failures, then rates overall error handling 1-10 with the reasoning behind the score so you know whether to approve or request changes.

Prompt
Audit the error handling in this code. Find: swallowed exceptions (catch blocks that don't re-throw or log), errors returned but never checked by callers, operations that can fail but have no error path, and places where errors are logged but execution continues incorrectly. Rate overall error handling 1-10 and explain the rating.

{{diff}}
Download .md

Variables