Fix for tests
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Engine.pm
index fac70cd..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;
 
@@ -670,8 +666,7 @@ sub run {
 
 =head2 build_psgi_app ($app, @args)
 
-Builds and returns a PSGI application closure, wrapping it in the reverse proxy
-middleware if the using_frontend_proxy config setting is set.
+Builds and returns a PSGI application closure. (Raw, not wrapped in middleware)
 
 =cut