Show the error when the email list fails.
Useful when I was tring to query for more stuff.
This commit is contained in:
parent
5c293219f3
commit
3ef58b2259
|
@ -196,8 +196,8 @@ export default class Client {
|
||||||
mailbox.emailIds = response.ids;
|
mailbox.emailIds = response.ids;
|
||||||
this._triggerChange("Email list " + mailboxId);
|
this._triggerChange("Email list " + mailboxId);
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch((e) => {
|
||||||
console.error("Failed to get email list from mailbox", mailboxId);
|
console.error("Failed to get email list from mailbox", mailboxId, e);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue