Show the error when the email list fails.

Useful when I was tring to query for more stuff.
This commit is contained in:
Eli Ribble 2024-08-29 10:47:35 -07:00
parent 5c293219f3
commit 3ef58b2259
1 changed files with 2 additions and 2 deletions

View File

@ -196,8 +196,8 @@ export default class Client {
mailbox.emailIds = response.ids;
this._triggerChange("Email list " + mailboxId);
})
.catch(() => {
console.error("Failed to get email list from mailbox", mailboxId);
.catch((e) => {
console.error("Failed to get email list from mailbox", mailboxId, e);
});
}