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);
|
sendResponseCallback(201);
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
|
Zotero.logError(e);
|
||||||
sendResponseCallback(500);
|
sendResponseCallback(500);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user