]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole.pm
Removed obsolete comments, added comment about testing
[maypole.git] / lib / Maypole.pm
index f7699c3c259adc050d701d1a20d7a30be154aa46..13af1719bbb4954de5a005e017072d8dce7caed1 100644 (file)
@@ -62,7 +62,6 @@ sub handler {
     my $r = bless { config => $class->config }, $class;
     $r->get_request($req);
     $r->parse_location();
-    warn "Request path: $r->{path}" if $r->debug;
     my $status = $r->handler_guts();
     return $status unless $status == OK;
     $r->send_output;
@@ -85,6 +84,7 @@ sub handler_guts {
     # We authenticate every request, needed for proper session management
     my $status;
     eval { $status = $r->call_authenticate };
+    warn "No return value from authenticate" unless $status;
     if ( my $error = $@ ) {
         $status = $r->call_exception($error);
         if ( $status != OK ) {