From 0d304455419f3f670cb98af4fcee0434fca016b4 Mon Sep 17 00:00:00 2001 From: heisenberg Date: Fri, 13 Dec 2024 10:55:41 +0800 Subject: [PATCH] chore: error message in TrezorManager --- 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]),