Skip to content

fix(web): expose safe PostgreSQL error diagnostics - #391

Closed
prvnsmpth wants to merge 1 commit into
masterfrom
fix/db-error-logging
Closed

fix(web): expose safe PostgreSQL error diagnostics#391
prvnsmpth wants to merge 1 commit into
masterfrom
fix/db-error-logging

Conversation

@prvnsmpth

Copy link
Copy Markdown
Contributor
  • Log SQLSTATE and structural PostgreSQL metadata so database failures identify the affected constraint without exposing query parameters.
  • Sanitize Drizzle errors, request URLs, headers, and OAuth callback logs to prevent tokens and user data from leaking.
  • Correlate Okta and Entra callback failures with request-scoped logging.
  • Add regression coverage for wrapped and direct PostgreSQL errors.

@prvnsmpth prvnsmpth closed this Jul 29, 2026
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