[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.8-122-g840856f

? sunnavy sunnavy at bestpractical.com
Mon Aug 2 21:57:28 EDT 2010


The branch, 3.8-trunk has been updated
       via  840856f77dc40a05adc0a4a8577542833865e695 (commit)
      from  b4121d9de84ba37a9fb5e14d7c63431f9f483c51 (commit)

Summary of changes:
 lib/RT/Util.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 840856f77dc40a05adc0a4a8577542833865e695
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Aug 3 09:28:25 2010 +0800

    log the error if any in safe_run_child

diff --git a/lib/RT/Util.pm b/lib/RT/Util.pm
index 197ab49..704a74c 100644
--- a/lib/RT/Util.pm
+++ b/lib/RT/Util.pm
@@ -81,6 +81,7 @@ sub safe_run_child (&) {
         1;
     } or do {
         if ( $our_pid == $$ ) {
+            $RT::Logger->error( $@ );
             $dbh->{'InactiveDestroy'} = 0 if $dbh;
             $RT::Handle->{'DisconnectHandleOnDestroy'} = 1;
         }

-----------------------------------------------------------------------


More information about the Rt-commit mailing list