From 1b91f16b7ec381c99d02262364e27da437686ec8 Mon Sep 17 00:00:00 2001 From: quix0r Date: Thu, 29 Oct 2009 22:10:01 +0000 Subject: [PATCH] Nicer output --- inc/libs/yoomedia_functions.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 -- 2.39.5