From: Petr Skoda Date: Fri, 30 Oct 2009 13:31:15 +0000 (+0000) Subject: MDL-20676 removed duplicated debug info in uncaught exceptions X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=89bef76c12ce39666f37d0731063a3113dabbfda;p=moodle.git MDL-20676 removed duplicated debug info in uncaught exceptions --- diff --git a/lib/setuplib.php b/lib/setuplib.php index c5f86476d7..fe026d3568 100644 --- a/lib/setuplib.php +++ b/lib/setuplib.php @@ -215,7 +215,7 @@ function default_exception_handler($ex, $isupgrade = false, $plugin = null) { } $errmsg = "Default exception handler: " . $ex->getMessage() . "\n" . format_backtrace($backtrace); - if (debugging($errmsg, DEBUG_MINIMAL)) { + if (debugging('', DEBUG_MINIMAL)) { error_log($errmsg, 0); } exit(1); // General error code