Commit:    aa2e2a31c113b29bba07465ba66a81c7f2b44b4b
Author:    Ferenc Kovacs <[email protected]>         Sun, 17 Feb 2013 23:29:37 
+0100
Parents:   44ec8248249c6499bfaa2f2b95b7a9e961ecc0e4
Branches:  master

Link:       
http://git.php.net/?p=web/bugs.git;a=commitdiff;h=aa2e2a31c113b29bba07465ba66a81c7f2b44b4b

Log:
log the error message

Changed paths:
  M  include/functions.php


Diff:
diff --git a/include/functions.php b/include/functions.php
index 89ca62c..8120e93 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1896,6 +1896,7 @@ function get_ticket_links($text)
 
 function handle_pear_errors ($error_obj)
 {
+       error_log($error_obj->getMessage());
        response_header("Oops! We are sorry that you are unable to report an 
undocumented feature today.");
        
        $error  = "<p>Greetings! We are experiencing an error, and in the 
spirit of Open Source would like you to fix it. ";


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to