Skip to content
Snippets Groups Projects
Commit 8d881f9b authored by mattwire's avatar mattwire
Browse files

Be more verbose with IPN exception

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