I've got a wsgi script I'm running with mod_wsgi and the script looks
like this:
def myapp(environ, start_response):
start_response('500 Internal Error', [('Content-Type', 'text/
plain')])
1/0 # sometimes I comment this out
return ['Returning 500']
from weberror.errormiddleware import ErrorMiddleware
application = ErrorMiddleware(myapp, debug=True)
When I run this with or without commenting out the 1/0 line, I don't
get anything like a viewable traceback.
I suspect I'm making some trivial mistake. Any pointers?
Matt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---