[freeside-commits] branch master updated. a218049cc9560b1bfc98f5803fba18f9f804e11b

Ivan Kohler ivan at freeside.biz
Wed Mar 27 07:48:07 PDT 2019


The branch, master has been updated
       via  a218049cc9560b1bfc98f5803fba18f9f804e11b (commit)
      from  08403e611309f4f5cc55afe088f70ff4ea1f65b9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a218049cc9560b1bfc98f5803fba18f9f804e11b
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Mar 27 07:48:06 2019 -0700

    don't include stack backtrace with email errors, RT#83078, RT#83088

diff --git a/FS/FS/Misc.pm b/FS/FS/Misc.pm
index fd2c32513..a9d24c267 100644
--- a/FS/FS/Misc.pm
+++ b/FS/FS/Misc.pm
@@ -300,6 +300,7 @@ sub send_email {
     push @env_to, map { $_->address } Email::Address->parse($dest);
   }
 
+  local $SIG{__DIE__}; # don't want Mason __DIE__ handler active
   local $@; # just in case
   eval { sendmail($message, { transport => $transport,
                               from      => $from,

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

Summary of changes:
 FS/FS/Misc.pm | 1 +
 1 file changed, 1 insertion(+)




More information about the freeside-commits mailing list