Commits

Fabrice Gabolde  committed 2067916

Misc.

  • Participants
  • Parent commits 6fc9c22

Comments (0)

Files changed (1)

File lib/Floop.pm

     method BUILD {
         $self->_set_namespace('/')
             unless defined($self->namespace);
+        # install methods with Confectionery traits
         sugarcoat($self);
     }
 
             }
 
             $self->fire_hook('finalize_response', $context);
+            $!logger->core(sprintf(q{Returned a response %d bytes long}, length($context->response->body)));
             return $context->response;
 
         } else {
                                                     request => $request,
                                                     app => $self);
             $self->fire_hook('finalize_response', $context);
-            my $response = $self->handle_not_found($context);
-            return $response;
+            $self->handle_not_found($context);
+            return $context->response;
 
         }