> On Feb 20, 2009, at 22:22, Ludvig Ericson wrote:
>>  logger = logging.getLogger("django.template")
>>  # ...
>>  try:
>>      do_whatever()
>>  except MyError:
>>      logger.
>
> How very clever of me to just leave a half-written example...
>
>  logger = logging.getLogger("django.template")
>  # ...
>  try:
>      do_whatever()
>  except MyError:
>      logger.exception("unicode coerce of var.resolve")
>      return ''

... and then sending the reply to myself... twice.

- Ludvig

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

Reply via email to