[freeside-commits] branch FREESIDE_4_BRANCH updated. 37d82e62bc2003e9db049f3e2c22be7380189922
Ivan Kohler
ivan at freeside.biz
Wed Mar 27 07:48:11 PDT 2019
The branch, FREESIDE_4_BRANCH has been updated
via 37d82e62bc2003e9db049f3e2c22be7380189922 (commit)
from 4c80e4506aee3865c6c3a626725b572af64254e7 (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 37d82e62bc2003e9db049f3e2c22be7380189922
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Mar 27 07:48:10 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