Log some extra debug output for sync error
This commit is contained in:
parent
764b8d3618
commit
f2ac59f95c
1 changed files with 12 additions and 0 deletions
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue