summaryrefslogtreecommitdiff
path: root/httemplate/elements/errorpage.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-04-26 12:10:43 -0700
committerMark Wells <mark@freeside.biz>2016-04-26 12:10:51 -0700
commitcb6214a6c0b0ecc8c3a5c264ee98ff3f301c33a6 (patch)
tree49a74db191bfd375117e1bfd34423b35c8f161a6 /httemplate/elements/errorpage.html
parentbc34518143fe485eec412e709271e681a1e41aac (diff)
more robust testing platform, #37340
Diffstat (limited to 'httemplate/elements/errorpage.html')
-rw-r--r--httemplate/elements/errorpage.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/httemplate/elements/errorpage.html b/httemplate/elements/errorpage.html
index 0f9808da0..7d66e7ce0 100644
--- a/httemplate/elements/errorpage.html
+++ b/httemplate/elements/errorpage.html
@@ -1,10 +1,11 @@
+% my $error = shift;
+% $m->notes('error', $error);
<& /elements/header.html, mt("Error") &>
% while (@_) {
-<P><FONT SIZE="+1" COLOR="#ff0000"><% shift |h %></FONT>
+<P><FONT SIZE="+1" COLOR="#ff0000"><% $error |h %></FONT>
%}
-
% $m->flush_buffer();
% $HTML::Mason::Commands::m->abort();