From: Tomas Doran Date: Tue, 14 Feb 2012 12:41:44 +0000 (+0000) Subject: Fix the debug page, how did that slip through? X-Git-Tag: 5.90009~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=40d07fe69956901781b59f86b670acfcab4805d5 Fix the debug page, how did that slip through? --- diff --git a/Changes b/Changes index 502fe6e..f6012e9 100644 --- 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 diff --git a/lib/Catalyst/Engine.pm b/lib/Catalyst/Engine.pm index a6a6f25..7b4021c 100644 --- a/lib/Catalyst/Engine.pm +++ b/lib/Catalyst/Engine.pm @@ -180,10 +180,6 @@ sub finalize_error { $title = $name = "$name on Catalyst $Catalyst::VERSION"; $name = "

$name

"; - # 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;