#86: Nicer error handler for quickstarted projects
------------------------+---------------------------------------------------
Reporter: kevin | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.1
Component: TurboGears | Version:
Severity: normal | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Changes (by [EMAIL PROTECTED]):
* cc: => [EMAIL PROTECTED]
Comment:
Yes, evalexception works fine with CP as long as it is at the root. There
might be some problems if it is placed somewhere other than the root of
the site due to some CP WSGI issues, but it's quite possible that
Christian fixed this since I last tried it.
paste.exceptions provides a more static view, as well as options for
emailing and logging. I use this for production code. It would be nice
if it had the same local-scope inspection like evalexception has.
Stylistically Pylons has made additions to both views. I haven't had a
chance to integrate these, in part because I want to make it more generic,
so that (for instance) TG could add its own look. Though just prettifying
it regardless would be nice.
There's also several ways to extend the error reports, e.g.,
__traceback_supplement__ paste.exceptions.errormiddleware has an example
of this, and Paste WebKit shows a framework-specific extension:
http://svn.pythonpaste.org/Paste/WebKit/trunk/paste/webkit/wkservlet.py
(the WebKit one shows the values of servlet instance variables, and the
form submission). TG can extend exception reports in similar ways.
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/86>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---