Ticket #11461: template-fix-lost-traceback.diff
File template-fix-lost-traceback.diff, 563 bytes (added by , 15 years ago) |
---|
-
django/template/debug.py
78 78 wrapped = TemplateSyntaxError(u'Caught an exception while rendering: %s' % force_unicode(e, errors='replace')) 79 79 wrapped.source = node.source 80 80 wrapped.exc_info = exc_info() 81 raise wrapped 81 raise wrapped, None, wrapped.exc_info[2] 82 82 return result 83 83 84 84 class DebugVariableNode(VariableNode):