Skip to content

Better error handling & logging#20

Open
brnbs wants to merge 1 commit into
coingate:masterfrom
brnbs:feature/better-logging
Open

Better error handling & logging#20
brnbs wants to merge 1 commit into
coingate:masterfrom
brnbs:feature/better-logging

Conversation

@brnbs

@brnbs brnbs commented Jul 29, 2025

Copy link
Copy Markdown
  • Using WC_Logger instead of error_log so its visible on WooCommerce > Status > Logs
  • Explicitly set HTTP response body in case of exceptions because an unhandled exception in payment_callback will only result in HTTP 500 status code & WordPress’s fatal‑error template

@brnbs brnbs changed the title feat: add better error logging Better error handling & logging Jul 29, 2025
@brnbs

brnbs commented Aug 19, 2025

Copy link
Copy Markdown
Author

@ibaciulis pls check

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