From 022a5dbeae24773cbf3f4fead1abb71b461d6ddd Mon Sep 17 00:00:00 2001 From: heisenberg <110591045+heisenberg-2077@users.noreply.github.com> Date: Fri, 20 Dec 2024 10:36:02 +0800 Subject: [PATCH] chore: error message in TrezorManager (#2681) --- src/ui/views/HDManager/TrezorManager.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/views/HDManager/TrezorManager.tsx b/src/ui/views/HDManager/TrezorManager.tsx index 6075bdb0b05..65b7f07b159 100644 --- a/src/ui/views/HDManager/TrezorManager.tsx +++ b/src/ui/views/HDManager/TrezorManager.tsx @@ -94,8 +94,8 @@ export const TrezorManager: React.FC = ({ HDName = 'Trezor' }) => { sleep(1000).then(fetchCurrentAccountsRetry.retry); } else { setPreventLoading(true); - console.log(errMessage); - Sentry.captureException(fetchCurrentAccountsRetry.error); + console.error(fetchCurrentAccountsRetry.error); + Sentry.captureException(`TrezorManager: ${errMessage}`); modal.error({ content: t('page.newAddress.hd.trezor.message.disconnected', [HDName]),