Debugging for relations purging error that won't get cut off

This commit is contained in:
Dan Stillman 2013-11-13 16:49:32 -05:00
parent 8490871108
commit a688d9ab00

View file

@ -248,7 +248,10 @@ Zotero.Relations = new function () {
}
catch (e) {
Zotero.debug(e);
Zotero.debug(Zotero.DB.query("SELECT * FROM relations"));
var rels = Zotero.DB.query("SELECT * FROM relations");
for each (let rel in rels) {
Zotero.debug(rel);
}
}
}
}