[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.8-84-ge57b44c

? sunnavy sunnavy at bestpractical.com
Thu Jun 10 23:55:37 EDT 2010


The branch, 3.8-trunk has been updated
       via  e57b44c821fa200c64a1486d10052aeaec3d62c1 (commit)
      from  acf754992a3cba16eb93169f66dd02042bf8bb92 (commit)

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

- Log -----------------------------------------------------------------
commit e57b44c821fa200c64a1486d10052aeaec3d62c1
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Jun 11 11:20:07 2010 +0800

    die $msg so we can check $@ to see if there is any error

diff --git a/lib/RT/Interface/Email.pm b/lib/RT/Interface/Email.pm
index e0815fb..eaf324e 100755
--- a/lib/RT/Interface/Email.pm
+++ b/lib/RT/Interface/Email.pm
@@ -457,6 +457,7 @@ sub SendEmail {
                 my $msg = "$msgid: `$path $args` exitted with code ". ($?>>8);
                 $msg = ", interrupted by signal ". ($?&127) if $?&127;
                 $RT::Logger->error( $msg );
+                die $msg;
             }
         };
         if ( $@ ) {

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


More information about the Rt-commit mailing list