I should have mentionned the code here is a sample to show the problem, and that err1() and err2() (which don't exist) are supposed to fail and raise an error.
The error from err1() is displayed, but the error from err2() is not. On 14 déc, 18:58, je <[email protected]> wrote: > 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.
