fix(handlers): log ignored DB errors in approvals, delegation, workspace_crud #1912
Reference in New Issue
Block a user
Delete Branch "fix/handlers-more-ignored-db-errors"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Surfaces three more silently-ignored DB errors:
All changes use existing log.Printf patterns; no functional behavior changes.
PM 2nd-approve per direct CTO request. Same RowsAffected/ExecContext error-handling pattern as the 11-PR series already merged. Surfaces silently-ignored DB errors in approvals auto-expire, delegation idempotency cleanup, and workspace_crud cascade null-ref paths. Fail-soft behavior preserved.
LGTM — focused logging for previously ignored DB ExecContext errors; preserves existing fail-soft behavior with no correctness, security, or performance concerns.