On 2/28/06, nesh <[EMAIL PROTECTED]> wrote:
> When exception is thrown inside model function not traceback or any 
> indication is given (with DEBUG=True), for example
> (m-r):
>
> class Foo(models.Model)
>     def bar(self):
>         raise SomeException()
>
> will return nothing (None) with *no indication* that error is occurred! Which 
> leads to mysterious errors or missing data
> without any indication what is happened.

I cannot reproduce this. In my test, the SomeException exception was
raised just fine. I tested that on magic-removal.

Perhaps you're dealing with the template system here? The template
system automatically catches exceptions when rendering content...

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to