From: Roland Häder Date: Thu, 26 Nov 2009 00:49:50 +0000 (+0000) Subject: Things that 'should not happen' should end in debug_report_bug(), not logDebugMessage... X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=57a53db86560e6591c06c535b888f791d273ae2f Things that 'should not happen' should end in debug_report_bug(), not logDebugMessage() :-) --- diff --git a/inc/libs/yoomedia_functions.php b/inc/libs/yoomedia_functions.php index a0e9c5a70f..2b7a734b90 100644 --- a/inc/libs/yoomedia_functions.php +++ b/inc/libs/yoomedia_functions.php @@ -432,7 +432,7 @@ function YOOMEDIA_GET_ERRORCODE_FROM_RESULT ($response) { $code = str_replace("\n", '', $code); } else { // Should not happen! - logDebugMessage(__FUNCTION__, __LINE__, 'Cannot parse response. Raw response=' . base64_encode(serialize($response))); + debug_report_bug('Cannot parse response. Raw response:
' . print_r($response, true) . '
'); } // Return error code