]> git.ipfire.org Git - thirdparty/tornado.git/commit
Errors while rendering templates no longer log the generated code.
authorBen Darnell <ben@bendarnell.com>
Sun, 9 Sep 2012 22:43:24 +0000 (15:43 -0700)
committerBen Darnell <ben@bendarnell.com>
Sun, 9 Sep 2012 22:43:24 +0000 (15:43 -0700)
commit97d642364672b2d3fcb45cfbe940c0e71ad8f54b
tree1d10959d805c0f0a429d18c2154aa692179a80ef
parentba0b9d43834977de37f7f5b5207f31c2a2ca631c
Errors while rendering templates no longer log the generated code.

Now that stack traces have source line info, the full code is hopefully
unnecessary (and if it is needed, this isn't the best way to get it).
Syntax errors in the generated code will still dump the whole thing
to the log.
tornado/template.py