Commit dd53600
PSP keepalive: stop scaring users with the expected error response (win.21)
mctrivia's /keepalive endpoint always returns
{"error":"unsubscribe failed will time out anyways"}
even on successful keepalives that result in payments. Confirmed by
direct curl from a working Linux node. The verbose diagnostic logging
we added during win.14-16 debugging is now shipping noise: every 20
minutes the user sees a CRITICAL-looking "RESPONSE: {error: ...}" line
that's actually fine.
- Recognise the known-OK response substring and treat it as success;
log "Reported online to ipfs.digiassetx.com" at INFO
- Anything else from the server gets a "UNEXPECTED response" warning
so a real outage actually surfaces
- Demote the URL, body string, and raw response logs to DEBUG level
(only visible after pressing [L] in the dashboard) — they include
the secret code so they should never have been at INFO
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 28a3a96 commit dd53600
2 files changed
Lines changed: 25 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
| 252 | + | |
252 | 253 | | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
264 | 259 | | |
265 | 260 | | |
266 | 261 | | |
| |||
277 | 272 | | |
278 | 273 | | |
279 | 274 | | |
280 | | - | |
281 | | - | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
282 | 292 | | |
283 | 293 | | |
284 | 294 | | |
| |||
0 commit comments