summaryrefslogtreecommitdiffstats
path: root/email_in.pl
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2015-05-18 12:20:27 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2015-05-18 12:20:27 +0200
commit2102accd812ed94488a9aa9e7277ad66a4d99c65 (patch)
tree5a9caf15df60de98fba16d12cb4d5e19459a7ec7 /email_in.pl
parent3ff9b3e89d495a181495615189da38b2c792124a (diff)
downloadbugzilla-2102accd812ed94488a9aa9e7277ad66a4d99c65.tar.gz
bugzilla-2102accd812ed94488a9aa9e7277ad66a4d99c65.tar.xz
Bug 1155009: Cache::Memcached causes email_in.pl to stop working
r/a=glob
Diffstat (limited to 'email_in.pl')
-rwxr-xr-xemail_in.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/email_in.pl b/email_in.pl
index 70ef26b6c..448d75d0e 100755
--- a/email_in.pl
+++ b/email_in.pl
@@ -466,7 +466,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.