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 to
pass inner stack trace!

I was unable to find the solution in google!

So it needs to document this properly. Create a page in wiki to point
people there. Write about it in blogs.
And keep consistency in applying contributors' patches.

On Wed, Aug 12, 2009 at 8:45 AM, SmileyChris<smileych...@gmail.com> 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 it breaks debugging and
> exception handling.
>
> What is the advantage of swallowing the exceptions?

-- 
Best regards, Yuri V. Baburov, ICQ# 99934676, Skype: yuri.baburov,
MSN: bu...@live.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to