From ed3bc7d1f7edd3c54289566581eca3f3b341e374 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Fri, 8 Jul 2011 03:54:29 +0000 Subject: [PATCH] Don't send 500 response without logging error --- chrome/content/zotero/xpcom/server_connector.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/xpcom/server_connector.js b/chrome/content/zotero/xpcom/server_connector.js index 8e0945d36..e4d068e25 100755 --- a/chrome/content/zotero/xpcom/server_connector.js +++ b/chrome/content/zotero/xpcom/server_connector.js @@ -473,6 +473,7 @@ Zotero.Server.Connector.SaveItem.prototype = { } sendResponseCallback(201); } catch(e) { + Zotero.logError(e); sendResponseCallback(500); } } else {