mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
Bug 166023 - On failure in template->new, a template is used to display error
2xr = bbaetz
This commit is contained in:
parent
a6ee0c8777
commit
e1210f4984
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user