Commit 8d881f9b authored by mattwire's avatar mattwire

Be more verbose with IPN exception

parent 43038bdb
...@@ -586,7 +586,8 @@ class CRM_Core_Payment_StripeIPN extends CRM_Core_Payment_BaseIPN { ...@@ -586,7 +586,8 @@ class CRM_Core_Payment_StripeIPN extends CRM_Core_Payment_BaseIPN {
} }
public function exception($message) { public function exception($message) {
Civi::log()->debug("StripeIPN: $message"); $errorMessage = 'StripeIPN Exception: Event: ' . $this->event_type . ' Error: ' . $message;
throw new CRM_Core_Exception("StripeIPN: $message"); Civi::log()->debug($errorMessage);
throw new CRM_Core_Exception($errorMessage);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment