Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Test debug() with default settings

  • Loading branch information...
commit 24d7b65888ffca38d8b2791a6fc5ca186370d245 1 parent 95b1fc4
Chisel Wright authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Demo/Controller/Root.pm
2  lib/Demo/Controller/Root.pm
View
@@ -8,7 +8,7 @@ __PACKAGE__->config(namespace => '');
sub index :Path :Args(0) {
my ( $self, $c ) = @_;
- die 'Shot through the heart!';
+ $c->log->debug('In your code debugging your lolz');
$c->response->body( $c->welcome_message );
}
Please sign in to comment.
Something went wrong with that request. Please try again.