commit 55f86f4295eb1784afc5ed47c6f5961979709087
parent 9cd7423dd7fae6894fd601b46502b87b51258270
Author: Simon Kornblith <simon@simonster.com>
Date: Fri, 5 Sep 2014 00:27:59 -0400
Fix error handling for saveItems
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/server_connector.js b/chrome/content/zotero/xpcom/server_connector.js
@@ -370,8 +370,8 @@ Zotero.Server.Connector.SaveItem.prototype = {
sendResponseCallback(500);
}
} else {
+ Zotero.logError(items);
sendResponseCallback(500);
- throw newItems;
}
}, Zotero.Server.Connector.AttachmentProgressManager.onProgress);
}