Source

django-requestlog / requestlog / util.py

Diff from to

requestlog/util.py

             request = args[request_arg]
             setattr(request, middleware.LOGGING_ENABLE_ATTR, True)
             try:
+                #print e
+                #import traceback
+                #print traceback.format_exception(*sys.exc_info())
                 return f(*args, **kwargs)
             except Exception, e:
                 setattr(request,