🔴 [P0] Fix broad exception catching hiding system errors #281

Closed
opened 2026-02-03 22:29:52 +00:00 by jason.woltje · 0 comments
Owner

Summary

Broad try-catch blocks catch ALL errors including system failures (OOM, DB failures, etc).

Location

apps/api/src/federation/command.service.ts:168-194

Impact

  • Debugging impossible
  • System errors masked as business logic failures

Required Fix

Only catch expected business logic errors. Let system errors propagate.

Priority

CRITICAL (P0) - Debugging impossible

## Summary Broad try-catch blocks catch ALL errors including system failures (OOM, DB failures, etc). ## Location `apps/api/src/federation/command.service.ts:168-194` ## Impact - Debugging impossible - System errors masked as business logic failures ## Required Fix Only catch expected business logic errors. Let system errors propagate. ## Priority **CRITICAL (P0)** - Debugging impossible
jason.woltje added the apiapip0 labels 2026-02-03 22:29:52 +00:00
jason.woltje added this to the M7.1-Remediation (0.0.8) milestone 2026-02-03 22:31:34 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#281