commit f2ac59f95c67d633ad2853171d3a5654124c11f0 parent 764b8d3618c2d293d1be79af652b796754d2b6ae Author: Dan Stillman <dstillman@zotero.org> Date: Fri, 25 Dec 2009 00:33:34 +0000 Log some extra debug output for sync error Diffstat:
| M | chrome/content/zotero/xpcom/data/item.js | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js @@ -4312,6 +4312,18 @@ Zotero.Item.prototype._loadCreators = function() { */ Zotero.Item.prototype._loadItemData = function() { if (!this.id) { + // Log backtrace and data + try { + asfasfsa(); + } + catch (e) { + Zotero.debug(e); + Zotero.debug(this._itemTypeID); + Zotero.debug(this._libraryID); + Zotero.debug(this._key); + Zotero.debug(this._dateAdded); + Zotero.debug(this._dateModified); + } throw ('ItemID not set for object before attempting to load data'); }