Files
foxhunt/services/api_gateway
jgrusewski 824a1412d3 safety: replace 74 unwrap/expect calls in 3 critical services
- api_gateway/main.rs: 18 expect→? or match+error! (gateway crash=outage)
- broker_gateway/metrics.rs: 24 expect→unwrap_or_else+abort (startup-only)
- ml_training/training_metrics.rs: 32 unwrap→unwrap_metric helper+abort

All Prometheus metric registrations now use explicit error handling
instead of bare .unwrap()/.expect(). Production panic surface reduced
by ~75%.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 04:02:01 +01:00
..