This commit is contained in:
parent
7c616aaf1a
commit
ac8af00e84
|
@ -68,7 +68,7 @@ sub view_log : Chained('build') PathPart('log') Args(0) {
|
|||
sub loadLog {
|
||||
my ($c, $path) = @_;
|
||||
|
||||
die unless defined $path;
|
||||
notFound($c, "Log file $path no longer exists.") unless -f $path;
|
||||
|
||||
# !!! quick hack
|
||||
my $pipeline = ($path =~ /.bz2$/ ? "cat $path | bzip2 -d" : "cat $path")
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
|
||||
<h1>[% IF httpStatus %][% httpStatus %][% ELSE %]Error[% END %]</h1>
|
||||
|
||||
<p>I'm very sorry, but an error occurred: <span class="error-msg">[% FOREACH error IN errors %] [% HTML.escape(error) %] [% END %]</span></p>
|
||||
<p>I'm very sorry, but an error occurred: <span class="error-msg">[% FOREACH error IN errors %][% HTML.escape(error) %][% END %]</span></p>
|
||||
|
||||
[% END %]
|
||||
|
|
Loading…
Reference in a new issue