Commit 15a92c2
committed
chore(poller): log CFWidget 404 headers and body
Add a warning-level diagnostic in fetch_page that, when api.cfwidget.com
returns HTTP 404, emits the response headers and body as JSON before
raising the usual NEMPException. The body is read inside the response
context (the 4xx branch otherwise raises before consuming it). Behavior
is otherwise unchanged: the 404 still raises NEMPException.1 parent e9601a5 commit 15a92c2
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
98 | 105 | | |
99 | 106 | | |
100 | 107 | | |
| |||
0 commit comments