Fix error handling for saveItems
This commit is contained in:
parent
9cd7423dd7
commit
55f86f4295
1 changed files with 1 additions and 1 deletions
|
@ -370,8 +370,8 @@ Zotero.Server.Connector.SaveItem.prototype = {
|
|||
sendResponseCallback(500);
|
||||
}
|
||||
} else {
|
||||
Zotero.logError(items);
|
||||
sendResponseCallback(500);
|
||||
throw newItems;
|
||||
}
|
||||
}, Zotero.Server.Connector.AttachmentProgressManager.onProgress);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue