From 871de5e2dbb48867b08371ce90881d8f85b18ff1 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 20 Jan 2016 21:53:45 +0000 Subject: Bug 1240029 - The REST API doesn't work correctly with mod_perl r=dylan --- email_in.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'email_in.pl') diff --git a/email_in.pl b/email_in.pl index 448d75d0e..6d81e00dc 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 // Bugzilla::Error::_in_eval()); + die @_ if ($^S // Bugzilla->request_cache->{in_eval}); # We can't depend on the MTA to send an error message, so we have # to generate one properly. -- cgit v1.2.3-24-g4f1b