From ecfa87ea93434517e255982dedac821748756604 Mon Sep 17 00:00:00 2001 From: "Hung-Han (Henry) Chen" Date: Thu, 8 Jul 2021 10:37:19 +0300 Subject: [PATCH] Use warn instead of error Signed-off-by: Hung-Han (Henry) Chen --- src/common/sentry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/sentry.ts b/src/common/sentry.ts index 513954e89c..b33c2bc6c4 100644 --- a/src/common/sentry.ts +++ b/src/common/sentry.ts @@ -44,7 +44,7 @@ const initialScope = (processType: typeof electronProcessType[number]) => { const environment = isProduction ? "production" : "development"; const logInitError = (reason: string) => { - logger.error(`⚠️ [SENTRY-INIT]: ${reason}, Sentry is not initialized.`); + logger.warn(`⚠️ [SENTRY-INIT]: ${reason}, Sentry is not initialized.`); }; export const SentryInit = () => {