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:22:36 -0700
commitcddb600ed65fc240762c96c1b3795cd7188be404 (patch)
tree7216456a65a579dd0d568c070334e03c9a69cd02 /httemplate/elements/errorpage.html
parent50e995d8cac4bd4de8e254d7f8f1e885e9ef242e (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();