Skip to content

diag(minting): include err.cause + PG fields in webhook 500#522

Merged
blove merged 1 commit into
mainfrom
claude/diag-cause
May 21, 2026
Merged

diag(minting): include err.cause + PG fields in webhook 500#522
blove merged 1 commit into
mainfrom
claude/diag-cause

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented May 21, 2026

Summary

Why

End-to-end smoke is currently 500ing on the first DB write. Local query against the same processed_events table succeeds and schema is correct, so the cause is likely a connection-level error (SSL, auth, or pooler) only visible in the wrapped cause.

Test plan

🤖 Generated with Claude Code

TEMP smoke diagnostic — extends prior patch to include err.cause
(postgres-js wraps the driver error under "Failed query:") plus
PG fields (code, severity, detail, etc.) so we can see the actual
cause of the processed_events insert failure.

Revert after smoke.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
threadplane Ready Ready Preview, Comment May 21, 2026 8:47pm

Request Review

@blove blove merged commit 84d8e3e into main May 21, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant