Skip to content

Log SES errors on publish failure - #3

Merged
peniakoff merged 1 commit into
mainfrom
fix/log-publish-error
Aug 21, 2026
Merged

Log SES errors on publish failure#3
peniakoff merged 1 commit into
mainfrom
fix/log-publish-error

Conversation

@peniakoff

Copy link
Copy Markdown
Owner

Summary

  • Include the publisher err on publish failed logs so a SES SendEmail rejection is visible in CloudWatch (error code/message), not just reportId and appId.
  • Changelog [Unreleased] Fixed entry for the operator-facing log change.

Test plan

  • go test ./internal/httpapi/...
  • After deploy, submit feedback that fails SES (or inspect a real 503) and confirm the log line includes err (for example MessageRejected or AccessDenied) without the submission message or Turnstile token.

Made with Cursor

…ails in the logs. Update CHANGELOG to reflect the addition of publisher error information for better SES delivery failure diagnostics.

Co-authored-by: Cursor <cursoragent@cursor.com>
@peniakoff
peniakoff merged commit b143892 into main Aug 21, 2026
4 checks passed
@peniakoff
peniakoff deleted the fix/log-publish-error branch August 21, 2026 13:52
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