Skip to content
Snippets Groups Projects
Commit 5c7aaf4b authored by peterh's avatar peterh
Browse files

Nicer formatting for error message.

parent ce90fd82
No related branches found
No related tags found
No related merge requests found
......@@ -78,8 +78,8 @@ class CRM_Core_Payment_Stripe extends CRM_Core_Payment {
}
function logStripeException($op, $exception) {
$body = $exception->getJsonBody();
CRM_Core_Error::debug_log_message("stripe_error $op: " . print_r($body, TRUE));
$body = print_r($exception->getJsonBody(), TRUE);
CRM_Core_Error::debug_log_message("Stripe_Error {$op}: <pre> {$body} </pre>");
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment