diff --git a/anki/sync.py b/anki/sync.py index b61fd662b..9d5dd4c21 100644 --- a/anki/sync.py +++ b/anki/sync.py @@ -142,7 +142,7 @@ class Syncer(object): self.col.rollback() self.col.modSchema() self.col.save() - raise Exception("sanity check failed") + raise Exception("collection sanity check failed") # finalize runHook("sync", "finalize") mod = self.server.finish() diff --git a/aqt/sync.py b/aqt/sync.py index ca671f2b4..1bbf3c39b 100644 --- a/aqt/sync.py +++ b/aqt/sync.py @@ -134,7 +134,7 @@ AnkiWeb is too busy at the moment. Please try again in a few minutes.""") "Antivirus or firewall software is preventing Anki from connecting to the internet.") elif "407" in err: return _("Proxy authentication required.") - elif "sanity check failed" in err: + elif "collection sanity check failed" in err: return _("After syncing, the collection was in an inconsistent \ state. To fix this problem, Anki will force a full sync. Please sync again, and \ choose which side you would like to keep.")