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-27 13:07:37 -0700
commit90eaa5512c9cd3ff34b34c9e2426ff2fa39e27dd (patch)
treea2ced525c9eb3cd206aa80ab2a70d52dc5e4cfc0 /httemplate/elements/errorpage.html
parentefc6cac18e49cee959026359718f525048164bd7 (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();