]> git.mxchange.org Git - mailer.git/commitdiff
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 c6d55228b842dc5c4883aead5747f5cf359b086a..b2387dc1d614af0686dff2490ca724af8f9af533 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