debug_report_bug() should be used as a replacement for app_die() calls
[mailer.git] / inc / handler.php
index e4c5f9781114054420c38d8fb3ab812534d64a5b..74eb58753db0a3e35ddbf41d591776fd0ef98c18 100644 (file)
@@ -53,7 +53,7 @@ function __errorHandler ($errno, $errstr, $errfile, $errline) {
        );
 
        // Output message to user and die
-       debug_report_bug($message);
+       debug_report_bug($errfile, $errline, $message);
 }
 
 // Init error handler