Added exception handling

Added error doc mapping
Moved more logic into Session middleware
Added Credit example to app.psgi
Made StackTrace and Debug panel automatically turn on when debug mode enabled
Fixed errorHandler
This commit is contained in:
Patrick Donelan 2010-04-10 22:52:40 -04:00
parent 2bac95fa26
commit 716bdaeb86
7 changed files with 114 additions and 145 deletions

5
TODO
View file

@ -1,5 +1,8 @@
TODO
* Deprecate WebGUI::Session::HTTP - replace with WebGUI::Request/Response
* Delete lib/WebGUI/URL and replace with new Middleware(s)
* Investigate moving Cookie handling into middleware
* Turn html debug output into a Plack::Middleware::Debug panel
DONE
* $session->request is now a Plack::Request object
@ -7,8 +10,8 @@ DONE
* WebGUI::authen API changed
* urlHandler API changed - no longer gets server, config
* Streaming response body
* Delete lib/WebGUI/URL and replace with new Middleware(s)
* Mostly decoupled WebGUI from Log4perl
* Exception handling and error doc mapping
NB
* Periodically do a big stress-test and check for leaks, mysql overload etc..