开发者

Exception logging in Pylons

Is there a way to create a middleware that will catch every raised exception and print the stacktrace both to log and stdou开发者_开发知识库t (possibly with some additional information) in Pylons framework?


Standard paste.exceptions.errormiddleware.ErrorMiddleware already does this, and even a little more.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜