Commit 5996922
committed
Add specific 404 error handling to get_liturgy_of_the_day
- Add 404 status code check in HTTPStatusError exception handler
- Provide user-friendly error message for calendar not found
- Log calendar details (type, id, year) when 404 occurs
- Matches error handling pattern used in other calendar functions
Addresses Copilot feedback on line R3511 parent 9c7cc3b commit 5996922
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
352 | 360 | | |
353 | 361 | | |
354 | 362 | | |
| |||
0 commit comments