From: Roland Häder Date: Thu, 29 Oct 2009 22:10:01 +0000 (+0000) Subject: Nicer output X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d9cc6df3c8161170495da1160031e52fcbdd54e6;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