summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Error.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-06-28 18:29:00 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-28 22:42:02 +0200
commit7cf010d2aaae017c5d1d416894f8d98bbf2ee082 (patch)
tree4a60192b4a56a6cde0f9baf1813a3be980fdf115 /Bugzilla/Error.pm
parent2a0aebca76f2d19d23ee771c189535487fc170ab (diff)
downloadbugzilla-7cf010d2aaae017c5d1d416894f8d98bbf2ee082.tar.gz
bugzilla-7cf010d2aaae017c5d1d416894f8d98bbf2ee082.tar.xz
remove MOD_PERL bits
Diffstat (limited to 'Bugzilla/Error.pm')
-rw-r--r--Bugzilla/Error.pm2
1 files changed, 1 insertions, 1 deletions
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);