From 33f61556746e1729746342d802ca7ea9cea18caf Mon Sep 17 00:00:00 2001 From: Dylan Hardison Date: Wed, 13 Apr 2016 10:46:30 -0400 Subject: Bug 1195736 - intermittent internal error: "file error - nav_link: not found" (also manifests as fields_lhs: not found) --- Bugzilla.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Bugzilla.pm') diff --git a/Bugzilla.pm b/Bugzilla.pm index 021783a75..cba448112 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -518,6 +518,9 @@ sub error_mode { if (defined $newval) { $class->request_cache->{error_mode} = $newval; } + if ($class->template->in_process) { + return ERROR_MODE_DIE; + } return $class->request_cache->{error_mode} || (i_am_cgi() ? ERROR_MODE_WEBPAGE : ERROR_MODE_DIE); } -- cgit v1.2.3-24-g4f1b