Don't send 500 response without logging error

This commit is contained in:
Simon Kornblith 2011-07-08 03:54:29 +00:00
parent e2993b94a4
commit ed3bc7d1f7

View File

@ -473,6 +473,7 @@ Zotero.Server.Connector.SaveItem.prototype = {
} }
sendResponseCallback(201); sendResponseCallback(201);
} catch(e) { } catch(e) {
Zotero.logError(e);
sendResponseCallback(500); sendResponseCallback(500);
} }
} else { } else {