diff options
author | Byron Jones <bjones@mozilla.com> | 2012-02-27 16:31:45 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-02-27 16:31:45 +0100 |
commit | 4d9e3d0c87ff6a118e94952b1c9ff475d2f023fc (patch) | |
tree | 668720bef3f039bc6e685b4dd29e78fc6de27de3 /template/en/default/global | |
parent | cc48d74d241b98157c80c666c3402b73be6157d1 (diff) | |
download | bugzilla-4d9e3d0c87ff6a118e94952b1c9ff475d2f023fc.tar.gz bugzilla-4d9e3d0c87ff6a118e94952b1c9ff475d2f023fc.tar.xz |
Bug 698345: report errors and warnings to arecibo
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/code-error.html.tmpl | 44 |
1 files changed, 17 insertions, 27 deletions
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 %] -<tt> - <p> - [% 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. - </p> - <script type="text/javascript"> <!-- - document.write("<p>URL: " + - document.location.href.replace(/&/g,"&") - .replace(/</g,"<") - .replace(/>/g,">") + "</p>"); - // --> - </script> -</tt> - -<table cellpadding="20"> - <tr> - <td bgcolor="#ff0000"> - <font size="+2"> - [% error_message FILTER none %] - </font> - </td> - </tr> -</table> - -<p>Traceback:</p> -<pre>[% traceback FILTER html %]</pre> +[%# return the generated error_message for arecibo %] +[% processed.error_message = error_message %] + +<p> + [% terms.Bugzilla %] has suffered an internal error: +</p> + +<p class="throw_error"> + [% error_message FILTER none %] +</p> + +[% IF maintainers_notified %] +<p> + The [% terms.Bugzilla %] maintainers have been notified of this error + [#[% uid FILTER html %]]. +</p> +[% END %] [% IF variables %] <pre> |