Use warn instead of error

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
Hung-Han (Henry) Chen committed 2021-07-08 10:39:10 +03:00
1 parent 78ab3a2f90
commit ecfa87ea93
1 file changed
+1 -1
+1 -1
View File
@@ -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 = () => {