﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
1236	Django hiding exceptions	richard@…	Russell Keith-Magee	"I just got an exception ""TemplateSyntaxError: Caught an exception while rendering."" Looking into the code where that exception was being raised, I see that it's actually squashing another exception (anything with subclass Exception) and re-raising the useless message I got.

I eventually narrowed down the code that was raising the initial exception, and put my own try/except block around it, and found that the exception really being raised is at result of passing an invalid value to an object constuctor (a meta.Model object, this is). Clearly *not* a template syntax error.

Please don't squash exceptions.

The offending (offensive?) code is the ""wrapped"" section of DebugNodeList in django/core/template/__init__.py (currently terminating on line 742).
"	defect	closed	Template system	0.90	normal	fixed			Unreviewed	0	0	0	0	0	0
