Hi!

I love web.py, but one little problem remains for me:
I can't find a way to log errors happening after a 'yield'.


version: 0.33

code:


#!/usr/bin/env python
import web

web.internalerror=web.debugerror

urls=(
    r'/(.*)', r'Index'
)

app=web.application(urls, globals())

class Index:
    def GET(self, url):
        #err1()
        yield 'test'
        err2()

if __name__=='__main__':
    app.run()


err2() is never detected.
Is it a bug?


Best regards,
Je

--

You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en.


Reply via email to