From 43ce5f5bab1d5c5004c4eefe426ff19b88fd6c78 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Tue, 4 Mar 2014 18:08:09 +0100 Subject: Bug 979140: Remove remaining elements r/a=glob --- Bugzilla/Error.pm | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'Bugzilla/Error.pm') diff --git a/Bugzilla/Error.pm b/Bugzilla/Error.pm index 03bf04f83..37b28095a 100644 --- a/Bugzilla/Error.pm +++ b/Bugzilla/Error.pm @@ -192,24 +192,18 @@ sub ThrowTemplateError { my $maintainer = Bugzilla->params->{'maintainer'}; my $error = html_quote($vars->{'template_error_msg'}); my $error2 = html_quote($template->error()); + my $url = html_quote(Bugzilla->cgi->self_url); + print <

Bugzilla has suffered an internal error. Please save this page and send it to $maintainer with details of what you were doing at the time this message appeared.

- +

URL: $url

Template->process() failed twice.
First error: $error
Second error: $error2

-
END } exit; -- cgit v1.2.3-24-g4f1b