Add debug after sync group
Benjamin Renard

Benjamin Renard commited on 2014-08-17 18:55:59
Showing 1 changed files, with 1 additions and 0 deletions.

... ...
@@ -75,6 +75,7 @@ def sync(req):
75 75
 	if 'email' in login_data:
76 76
 		log.debug(u'Login successful : sync groups')
77 77
 		ret=req.ctx.db.sync_group(data['email'],data['groups'])
78
+		log.debug("After sync : %s" % ret)
78 79
 		return wsgi_helpers.respond_json(req.ctx,ret,headers=[('Access-Control-Allow-Origin','*')])
79 80
 	else:
80 81
 		log.debug(u'Login error : return login error')
81 82