Commit 2413d54
committed
feat(app): register global exception handlers in FastAPI
Update main.py to setup exception handlers during app initialization:
- Import setup_exception_handlers from error_handlers module
- Call setup_exception_handlers(app) after middleware setup
Part of Issue #7: Error Handling & Resilience1 parent f423697 commit 2413d54
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
158 | 159 | | |
159 | 160 | | |
160 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
161 | 165 | | |
162 | 166 | | |
163 | 167 | | |
| |||
0 commit comments