aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2015-05-18 12:22:02 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2015-05-18 12:22:02 +0200
commitf2618084d394c107f211d5d48f6b38c60b8d1a73 (patch)
tree056404ab822b3c5d3770259b21b19e884e9f32e4
parent3d2b724886e632659d94b53b64a1c14aeb4861ec (diff)
downloadbugs-f2618084d394c107f211d5d48f6b38c60b8d1a73.tar
bugs-f2618084d394c107f211d5d48f6b38c60b8d1a73.tar.gz
bugs-f2618084d394c107f211d5d48f6b38c60b8d1a73.tar.bz2
bugs-f2618084d394c107f211d5d48f6b38c60b8d1a73.tar.xz
bugs-f2618084d394c107f211d5d48f6b38c60b8d1a73.zip
Bug 1155009: Cache::Memcached causes email_in.pl to stop working
r/a=glob
-rwxr-xr-xemail_in.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/email_in.pl b/email_in.pl
index ae4c42bde..a936791b7 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.