Fix for tests
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Engine.pm
index 48126e7..7b4021c 100644 (file)
@@ -180,10 +180,6 @@ sub finalize_error {
         $title = $name = "$name on Catalyst $Catalyst::VERSION";
         $name  = "<h1>$name</h1>";
 
-        # Don't show context in the dump
-        $c->req->_clear_context;
-        $c->res->_clear_context;
-
         # Don't show body parser in the dump
         $c->req->_clear_body;
 
@@ -535,7 +531,7 @@ sub prepare_read {
 
 =head2 $self->prepare_request(@arguments)
 
-Sets up the PSGI environment in the Engine.
+Populate the context object from the request object.
 
 =cut