aboutsummaryrefslogtreecommitdiffstats
path: root/docker/postgres.Dockerfile
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-07-30 21:07:48 -0700
committerAdam Soltys <[email protected]>2026-07-30 21:07:48 -0700
commit60f9c91b61ce069fb472369eb6c16bf1a984a3d6 (patch)
treedbc7ea11e5faf77a7b358ff113807df7d7fdb364 /docker/postgres.Dockerfile
parentc21685559ee814e95cb37a5660c73762a8db12c9 (diff)
downloadcoinos-server-60f9c91b61ce069fb472369eb6c16bf1a984a3d6.tar.gz
coinos-server-60f9c91b61ce069fb472369eb6c16bf1a984a3d6.zip
zaps: stop spurious "failed to handle zap" warnings on non-zap invoices
The zap dispatch parsed the invoice description and, when it wasn't JSON, suppressed the error only if the message contained "Unexpected" — V8's parse- error wording. On Bun the message is "Unable to parse JSON string", so every paid invoice with a non-JSON memo logged a warning. Parse-then-check instead: a non-JSON description is simply not a zap and is skipped silently; warn only when an actual kind-9734 zap request fails to process. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Diffstat (limited to 'docker/postgres.Dockerfile')
0 files changed, 0 insertions, 0 deletions