Fix the debug page, how did that slip through?
Tomas Doran [Tue, 14 Feb 2012 12:41:44 +0000 (12:41 +0000)]
Changes
lib/Catalyst/Engine.pm

diff --git a/Changes b/Changes
index 502fe6e..f6012e9 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,6 +1,9 @@
 # This file documents the revision history for Perl extension Catalyst.
 
  Bug fixes:
+  - Fix the debug page so that it works as expected with the latest
+    refactoring.
+
   - The Catalyst::Utils::home function is used to find if the application
     is a checkout in Catalyst::ScriptRunner. This means that a non-existant
     lib directory that is relative to the script install location is not
index a6a6f25..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;