Don't send 500 response without logging error
This commit is contained in:
parent
e2993b94a4
commit
ed3bc7d1f7
|
@ -473,6 +473,7 @@ Zotero.Server.Connector.SaveItem.prototype = {
|
|||
}
|
||||
sendResponseCallback(201);
|
||||
} catch(e) {
|
||||
Zotero.logError(e);
|
||||
sendResponseCallback(500);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user