From 4d9e3d0c87ff6a118e94952b1c9ff475d2f023fc Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Mon, 27 Feb 2012 23:31:45 +0800 Subject: Bug 698345: report errors and warnings to arecibo --- template/en/default/global/code-error.html.tmpl | 44 ++++++++++--------------- 1 file changed, 17 insertions(+), 27 deletions(-) (limited to 'template/en/default/global/code-error.html.tmpl') diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index f100df994..8a4252a7e 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -503,33 +503,23 @@ admindocslinks = admindocslinks %] - -

- [% terms.Bugzilla %] has suffered an internal error. Please save this page and send - it to [% Param("maintainer") %] with details of what you were doing at - the time this message appeared. -

- -
- - - - - -
- - [% error_message FILTER none %] - -
- -

Traceback:

-
[% traceback FILTER html %]
+[%# return the generated error_message for arecibo %] +[% processed.error_message = error_message %] + +

+ [% terms.Bugzilla %] has suffered an internal error: +

+ +

+ [% error_message FILTER none %] +

+ +[% IF maintainers_notified %] +

+ The [% terms.Bugzilla %] maintainers have been notified of this error + [#[% uid FILTER html %]]. +

+[% END %] [% IF variables %]
-- 
cgit v1.2.3-24-g4f1b