]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-20676 removed duplicated debug info in uncaught exceptions
authorPetr Skoda <skodak@moodle.org>
Fri, 30 Oct 2009 13:31:15 +0000 (13:31 +0000)
committerPetr Skoda <skodak@moodle.org>
Fri, 30 Oct 2009 13:31:15 +0000 (13:31 +0000)
lib/setuplib.php

index c5f86476d7bb97cb408b5a1633cdadcda60732fe..fe026d35683da8952b95da8db250ed870a51c885 100644 (file)
@@ -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