From 3ef58b2259e8bdc61b3e7355cd691487b276866a Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Thu, 29 Aug 2024 10:47:35 -0700 Subject: [PATCH] Show the error when the email list fails. Useful when I was tring to query for more stuff. --- src/client/Client.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/Client.tsx b/src/client/Client.tsx index 2ed7158..08c1af9 100644 --- a/src/client/Client.tsx +++ b/src/client/Client.tsx @@ -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); }); }