Change to use relative paths, add exception template for tests

This commit is contained in:
Marcus Ramberg
2011-02-06 08:50:02 +01:00
parent fc453fe4fb
commit 323d5a9294
4 changed files with 18 additions and 11 deletions
+8
View File
@@ -0,0 +1,8 @@
% my $s = $self->stash;
% my $e = $self->stash('exception');
% delete $s->{inner_template};
% delete $s->{exception};
% my $dump = dumper $s;
% $s->{exception} = $e;
An Exception has occured: <%= $e->message %>
at <%= $e->line->[0] %> in <%= $e->line->[1] %>