From 0c4a3d8b2d20f8ca0878d9656f6bfee0d69ed3f3 Mon Sep 17 00:00:00 2001 From: sunil Date: Wed, 29 Jul 2015 13:43:18 +0530 Subject: [PATCH] commented debug_print_backtrace output, Fix for CRM-16899 --- CRM/Core/Error.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CRM/Core/Error.php b/CRM/Core/Error.php index 3afdd9b206..49bfe0b137 100644 --- a/CRM/Core/Error.php +++ b/CRM/Core/Error.php @@ -334,7 +334,8 @@ class CRM_Core_Error extends PEAR_ErrorStack { if (php_sapi_name() == "cli") { print ("Sorry. A non-recoverable error has occurred.\n$message \n$code\n$email\n\n"); - debug_print_backtrace(); + // Fix for CRM-16899 + //debug_print_backtrace(); die("\n"); // FIXME: Why doesn't this call abend()? // Difference: abend() will cleanup transaction and (via civiExit) store session state -- 2.25.1