Don't send 500 response without logging error
This commit is contained in:
parent
e2993b94a4
commit
ed3bc7d1f7
1 changed files with 1 additions and 0 deletions
|
@ -473,6 +473,7 @@ Zotero.Server.Connector.SaveItem.prototype = {
|
|||
}
|
||||
sendResponseCallback(201);
|
||||
} catch(e) {
|
||||
Zotero.logError(e);
|
||||
sendResponseCallback(500);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue