Turned on Debug middleware

Removed unnecessary $session->close() now that we have WebGUI::Middleware::Session
Fixed Content-Type bug
This commit is contained in:
Patrick Donelan 2010-04-09 18:06:43 -04:00
parent 10e8d1898d
commit f22020c267
7 changed files with 6 additions and 19 deletions

View file

@ -101,15 +101,6 @@ sub compile_psgi_app {
# Handle the request
$self->handle($session);
# Uncomment to catch errors (currently I prefer letting StackTrace do its thing)
# try {
# $self->handle($session);
# } catch {
# $session->request->log( "Error handling request: $_" );
# $responder->( $catch );
# return;
# };
# Construct the PSGI response
my $response = $session->response;
my $psgi_response = $response->finalize;