Nicer output
authorRoland Häder <roland@mxchange.org>
Thu, 29 Oct 2009 22:10:01 +0000 (22:10 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 29 Oct 2009 22:10:01 +0000 (22:10 +0000)
inc/libs/yoomedia_functions.php

index c6d5522..b2387dc 100644 (file)
@@ -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('<pre>');
-               debug_print_backtrace();
-               die('</pre>');
+               debug_report_bug(sprintf("Unknown error code <strong>%s</strong> detected.", $erroCode));
        }
 
        // Return value