From 7cf010d2aaae017c5d1d416894f8d98bbf2ee082 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Thu, 28 Jun 2018 12:29:00 -0400 Subject: remove MOD_PERL bits --- Bugzilla/Error.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Error.pm') diff --git a/Bugzilla/Error.pm b/Bugzilla/Error.pm index 42757f39c..f932294b0 100644 --- a/Bugzilla/Error.pm +++ b/Bugzilla/Error.pm @@ -196,7 +196,7 @@ sub ThrowTemplateError { # mod_perl overrides exit to call die with this string # we never want to display this to the user - exit if $template_err =~ /\bModPerl::Util::exit\b/; + die $template_err if ref($template_err) eq 'ARRAY' && $template_err->[0] eq "EXIT\n"; state $logger = Log::Log4perl->get_logger('Bugzilla.Error.Template'); $logger->error($template_err); -- cgit v1.2.3-24-g4f1b