mirror of
https://github.com/zotero/zotero.git
synced 2026-09-19 00:01:31 +00:00
Don't fail if processDocuments() processor returns undefined
Follow up to 157b8deda9
This commit is contained in:
parent
2f47eae3ff
commit
e4bc4c028d
1 changed files with 1 additions and 1 deletions
|
|
@ -864,7 +864,7 @@ Zotero.HTTP = new function() {
|
|||
}
|
||||
|
||||
// If processor returns a promise, wait for it
|
||||
if (maybePromise.then) {
|
||||
if (maybePromise && maybePromise.then) {
|
||||
maybePromise.then(() => doLoad())
|
||||
.catch(e => {
|
||||
if (exception) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue