www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

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:
Mchrome/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'); }