Turned on Debug middleware
Removed unnecessary $session->close() now that we have WebGUI::Middleware::Session Fixed Content-Type bug
This commit is contained in:
parent
10e8d1898d
commit
f22020c267
7 changed files with 6 additions and 19 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue