Fix error handling for saveItems

This commit is contained in:
Simon Kornblith 2014-09-05 00:27:59 -04:00
parent 9cd7423dd7
commit 55f86f4295

View file

@ -370,8 +370,8 @@ Zotero.Server.Connector.SaveItem.prototype = {
sendResponseCallback(500);
}
} else {
Zotero.logError(items);
sendResponseCallback(500);
throw newItems;
}
}, Zotero.Server.Connector.AttachmentProgressManager.onProgress);
}