From: Frédéric Buclin Date: Mon, 18 May 2015 10:22:02 +0000 (+0200) Subject: Bug 1155009: Cache::Memcached causes email_in.pl to stop working X-Git-Tag: release-5.0~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2618084d394c107f211d5d48f6b38c60b8d1a73;p=thirdparty%2Fbugzilla.git Bug 1155009: Cache::Memcached causes email_in.pl to stop working r/a=glob --- diff --git a/email_in.pl b/email_in.pl index ae4c42bde5..a936791b75 100755 --- a/email_in.pl +++ b/email_in.pl @@ -469,7 +469,7 @@ sub die_handler { # If this is inside an eval, then we should just act like...we're # in an eval (instead of printing the error and exiting). - die(@_) if $^S; + die @_ if ($^S // Bugzilla::Error::_in_eval()); # We can't depend on the MTA to send an error message, so we have # to generate one properly.