Removed showDebug() in favour of new logger panel
This commit is contained in:
parent
2d7c8e637f
commit
9b4e67b828
2 changed files with 2 additions and 6 deletions
|
|
@ -212,9 +212,6 @@ sub handle {
|
|||
# "chunked" or "empty" means it took care of its own output needs
|
||||
if (defined $output && ( $output eq "chunked" || $output eq "empty" )) {
|
||||
#warn "chunked and empty no longer stream, use session->response->stream() instead";
|
||||
if ($session->errorHandler->canShowDebug()) {
|
||||
$session->output->print($session->errorHandler->showDebug(),1);
|
||||
}
|
||||
return;
|
||||
}
|
||||
# non-empty output should be used as the response body
|
||||
|
|
@ -224,9 +221,6 @@ sub handle {
|
|||
|
||||
# Use contentHandler's return value as the output
|
||||
$session->output->print($output);
|
||||
if ($session->errorHandler->canShowDebug()) {
|
||||
$session->output->print($session->errorHandler->showDebug(),1);
|
||||
}
|
||||
return;
|
||||
}
|
||||
# Keep processing for success codes
|
||||
|
|
|
|||
|
|
@ -447,6 +447,8 @@ sub session {
|
|||
Creates an HTML formatted string of all internally stored debug information, warns,
|
||||
errors, sql queries and form data.
|
||||
|
||||
THIS METHOD IS DEPRECATED (See Plack::Middleware::Debug::WgLogger)
|
||||
|
||||
=cut
|
||||
|
||||
sub showDebug {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue