From d9cc6df3c8161170495da1160031e52fcbdd54e6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= 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