From 226c31a68d92fece46d090f3a6f163583b075e99 Mon Sep 17 00:00:00 2001 From: Artem Date: Wed, 23 Aug 2023 12:41:45 +0200 Subject: [PATCH] removed timestamps from the error title --- packages/atlas/src/hooks/useTimeMismatchWarning.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/atlas/src/hooks/useTimeMismatchWarning.ts b/packages/atlas/src/hooks/useTimeMismatchWarning.ts index 1accb75e36..80f4466cfa 100644 --- a/packages/atlas/src/hooks/useTimeMismatchWarning.ts +++ b/packages/atlas/src/hooks/useTimeMismatchWarning.ts @@ -28,10 +28,12 @@ export const useTimeMismatchWarning = () => { description: `Set your system time to automatic matching your actual timezone to prevent errors with transactions.`, iconType: 'warning', }) - SentryLogger.error( - `Time mismatch detected. Server time: ${serverTime}, client time: ${clientTime}`, - 'UseTimeMismatchWarning' - ) + SentryLogger.error(`Time mismatch detected`, 'UseTimeMismatchWarning', ``, { + details: { + serverTime, + clientTime, + }, + }) } }) .catch(() => {