From 67e0b6168c982b07903c4cf96fac0059c770cb66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 15 Nov 2013 16:53:31 +0100 Subject: [PATCH] commit leftover logging code from server --- themis/importexport/sync.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/themis/importexport/sync.py b/themis/importexport/sync.py index 70dfaf9..fadc7d7 100644 --- a/themis/importexport/sync.py +++ b/themis/importexport/sync.py @@ -341,6 +341,8 @@ class SyncFromThemis(UtilityView): object.author_is_government = True elif authors_v: authors_intids = [self.get_author_intid(x) for x in authors_v] + if None in authors_intids: + log.warn('unknown error in doc %s' % object.id) object.authors = [RelationValue(x) for x in authors_intids if x] object.author_is_government = False else: