Quiet some of the logspam around instances

This commit is contained in:
Ian Gulliver
2014-05-26 17:28:59 -07:00
parent 070521493b
commit b700202e4f
3 changed files with 18 additions and 11 deletions

2
api.py
View File

@@ -134,7 +134,7 @@ def Unpin(google_user, client, instance_id, args):
try:
models.Subject.FindOrCreate(subject).Unpin(
client.parent_key(), sender_message_id, instance)
client.parent_key(), sender_message_id, instance.key())
except models.AccessDenied:
logging.exception('Pin access denied')
return {