Re: Why does Django make it hard to debug tags?

2009-08-12 Thread Karen Tracey
On Wed, Aug 12, 2009 at 8:03 AM, Russell Keith-Magee wrote: > > On Wed, Aug 12, 2009 at 9:45 AM, SmileyChris wrote: > > > > http://code.djangoproject.com/ticket/11461 > > > > DebugNodeList catches all exceptions, sticks them in a > >

Re: Why does Django make it hard to debug tags?

2009-08-12 Thread Russell Keith-Magee
On Wed, Aug 12, 2009 at 9:45 AM, SmileyChris wrote: > > http://code.djangoproject.com/ticket/11461 > > DebugNodeList catches all exceptions, sticks them in a > TemplateSyntaxError, and stuffs the original exception in the new > exception. I'm not sure why this is done, but

Re: Why does Django make it hard to debug tags?

2009-08-12 Thread Yuri Baburov
Hi Chris, Found the same problem after broken module import at urlresolvers.py: raise ViewDoesNotExist, "Tried %s in module %s. Error was: %s" % (func_name, mod_name, str(e)) I guess this solution is not known to patch creators? I didn't know about this solution, and I thought it is impossible

Why does Django make it hard to debug tags?

2009-08-11 Thread SmileyChris
http://code.djangoproject.com/ticket/11461 DebugNodeList catches all exceptions, sticks them in a TemplateSyntaxError, and stuffs the original exception in the new exception. I'm not sure why this is done, but it breaks debugging and exception handling. What is the advantage of swallowing the