diff options
author | Mark Wells <mark@freeside.biz> | 2016-04-26 12:10:43 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-04-27 13:07:37 -0700 |
commit | 90eaa5512c9cd3ff34b34c9e2426ff2fa39e27dd (patch) | |
tree | a2ced525c9eb3cd206aa80ab2a70d52dc5e4cfc0 /httemplate/elements/errorpage.html | |
parent | efc6cac18e49cee959026359718f525048164bd7 (diff) |
more robust testing platform, #37340
Diffstat (limited to 'httemplate/elements/errorpage.html')
-rw-r--r-- | httemplate/elements/errorpage.html | 5 |
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(); |