Skip to content

Enhanced Error Logging Across Payment Gateways#133

Open
bvisible wants to merge 1 commit into
frappe:version-15from
bvisible:feat/enhanced-error-logging
Open

Enhanced Error Logging Across Payment Gateways#133
bvisible wants to merge 1 commit into
frappe:version-15from
bvisible:feat/enhanced-error-logging

Conversation

@bvisible
Copy link
Copy Markdown

Description

This PR improves error logging across all payment gateway integrations by adding descriptive titles to all frappe.log_error() calls. This enhancement makes it easier to identify and track specific errors in the payment processing flow.

Changes Made

  • Standardized error logging format across all payment gateways (Razorpay, Stripe, PayPal, Braintree, Paytm, and MPesa)
  • Added descriptive English titles to all error logs
  • Reorganized error message parameters for better readability
  • Maintained consistent error message structure: frappe.log_error("Descriptive Title", error_details)

Payment Gateways Updated

  • Razorpay Settings
  • Stripe Settings
  • PayPal Settings
  • Braintree Settings
  • Paytm Settings
  • MPesa Settings

Benefits

  • Improved error traceability
  • Easier debugging and monitoring
  • Better error categorization
  • Enhanced log readability

Testing

  • No functional changes were made
  • Only logging format has been modified
  • Existing error handling behavior remains unchanged

Improves error logging across all payment gateway integrations by adding descriptive titles to all `frappe.log_error()` calls. This enhancement makes it easier to identify and track specific errors in the payment processing flow.
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