com web/bugs: log the error message: include/functions.php

From: Date: Sun, 17 Feb 2013 22:29:37 +0000
Subject: com web/bugs: log the error message: include/functions.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-15491@lists.php.net to get a copy of this message
Commit: aa2e2a31c113b29bba07465ba66a81c7f2b44b4b Author: Ferenc Kovacs <tyra3l@gmail.com> 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. ";

« previous php.webmaster (#15491) next »