diff options
| author | Adam Soltys <[email protected]> | 2026-08-15 10:54:16 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-15 10:54:16 -0700 |
| commit | 108567fa803cbdb49a232d89c46528468196a90e (patch) | |
| tree | 61965c5eb54022f8c809bd12702debbb024e8fc1 | |
| parent | 11e007b88e6b45663e3ed4d0bea29b275a9d1ead (diff) | |
| download | coinosv3-108567fa803cbdb49a232d89c46528468196a90e.tar.gz coinosv3-108567fa803cbdb49a232d89c46528468196a90e.zip | |
A failed forward retry says why — the goyslop 190k spent a day failing in a bare catch
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014tE4U5nEjGTQy8PwYqamfv
| -rw-r--r-- | names/server.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/names/server.js b/names/server.js index 23fdb57..27b31d9 100644 --- a/names/server.js +++ b/names/server.js @@ -384,7 +384,8 @@ setInterval(async () => { for (const p of q) { if (p.next && Date.now() < p.next) { still.push(p); continue; } try { await forward(p.name, p.sat); } - catch { + catch (e) { + log(`forward retry failed for ${p.name} (${p.sat} sat, try ${(p.tries || 0) + 1}): ${e.message}`); p.tries = (p.tries || 0) + 1; p.next = Date.now() + Math.min(3_600_000, 60_000 * 2 ** Math.min(p.tries - 1, 6)); still.push(p); |
