Skip to content

Commit

Permalink
fixed typo bug while using Dancer::Error
Browse files Browse the repository at this point in the history
  • Loading branch information
polettix committed Jan 25, 2011
1 parent a8d9e94 commit cd6eb9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Dancer/Route.pm
Expand Up @@ -227,7 +227,7 @@ sub execute {
my $content = $self->code->();
if ($warning) {
return Dancer::Error->new(
status => 500,
code => 500,
message => "Warning caught during route execution: $warning",
)->render;
}
Expand Down

0 comments on commit cd6eb9f

Please sign in to comment.