From 4aa3e77aebd8b51f69bbec833053d5e6d740fc4d Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 14 Nov 2013 02:31:30 -0500 Subject: [PATCH] Yet more relations purging error debugging --- chrome/content/zotero/xpcom/data/relations.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chrome/content/zotero/xpcom/data/relations.js b/chrome/content/zotero/xpcom/data/relations.js index 521e81a68f..f0b8b39683 100644 --- a/chrome/content/zotero/xpcom/data/relations.js +++ b/chrome/content/zotero/xpcom/data/relations.js @@ -232,6 +232,9 @@ Zotero.Relations = new function () { try { Zotero.DB.beginTransaction(); for each(var uri in uris) { + Zotero.debug('==='); + Zotero.debug(uri); + // Skip URIs that don't begin with the default prefix, // since they don't correspond to local items if (uri.indexOf(prefix) == -1) { @@ -248,6 +251,7 @@ Zotero.Relations = new function () { } catch (e) { Zotero.debug(e); + Zotero.debug(uris); var rels = Zotero.DB.query("SELECT * FROM relations"); for each (let rel in rels) { Zotero.debug(rel);