added a not found handler, and better debug handling
This commit is contained in:
parent
1fc11fbda8
commit
09ac71093b
3 changed files with 68 additions and 14 deletions
|
|
@ -64,7 +64,10 @@ sub handler {
|
|||
use strict;
|
||||
if ($output) {
|
||||
unless ($output eq "none" || $output eq "redirect") {
|
||||
$session->output->print($output);
|
||||
$session->output->print($output) unless ($output eq "chunked");
|
||||
if ($session->errorHandler->canShowDebug()) {
|
||||
$session->output->print($session->errorHandler->showDebug(),1);
|
||||
}
|
||||
}
|
||||
last;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue