From 8a1d8dd39c5afba4fd39efe30544b9bf4e6e807d Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" Date: Mon, 9 Sep 2002 01:10:54 +0000 Subject: [PATCH] Bug 166023 - On failure in template->new, a template is used to display error 2xr = bbaetz git-svn-id: svn://10.0.0.236/trunk@129076 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/globals.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/globals.pl b/mozilla/webtools/bugzilla/globals.pl index 36bdf506c80..5931d186df5 100644 --- a/mozilla/webtools/bugzilla/globals.pl +++ b/mozilla/webtools/bugzilla/globals.pl @@ -1467,8 +1467,7 @@ $::template ||= Template->new( url_quote => \&url_quote , } , } -) || DisplayError("Template creation failed: " . Template->error()) - && exit; +) || die("Template creation failed: " . Template->error()); # Use the Toolkit Template's Stash module to add utility pseudo-methods # to template variables.