From: quix0r Date: Thu, 29 Oct 2009 22:10:01 +0000 (+0000) Subject: Nicer output X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1b91f16b7ec381c99d02262364e27da437686ec8;p=mailer.git Nicer output --- diff --git a/inc/libs/yoomedia_functions.php b/inc/libs/yoomedia_functions.php index c6d55228b8..b2387dc1d6 100644 --- a/inc/libs/yoomedia_functions.php +++ b/inc/libs/yoomedia_functions.php @@ -315,10 +315,7 @@ function translateYooMediaError ($errorCode) { $return = $GLOBALS['translation_tables']['yoomedia']['error_codes'][$errorCode]; } else { // Log missing entries - logDebugMessage(__FUNCTION__, __LINE__, "errorCode={$errorCode}"); - print('
');
-		debug_print_backtrace();
-		die('
'); + debug_report_bug(sprintf("Unknown error code %s detected.", $erroCode)); } // Return value