from django import template\r
from django.utils.translation import ugettext as _\r
from django.utils.safestring import mark_safe\r
+import logging\r
\r
register = template.Library()\r
\r
describe = mark_safe(action.describe(viewer))\r
return self.template.render(template.Context(dict(action=action, describe=describe)))\r
except Exception, e:\r
- #import sys, traceback\r
- #traceback.print_exc(file=sys.stdout)\r
- pass\r
+ logging.error("Error in %s action describe: %s" % (action.action_type, str(e)))\r
\r
@register.tag\r
def activity_item(parser, token):\r