From af3496f5e8bba5f9255dbc31a003965d81f33775 Mon Sep 17 00:00:00 2001 From: "maxime.quentin" Date: Tue, 17 Mar 2020 16:53:35 +0100 Subject: [PATCH 1/2] :bug: replace console.error by console.warn when cookies are not supported --- packages/core/src/init.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/init.ts b/packages/core/src/init.ts index 91fdbbf414..0318e3a979 100644 --- a/packages/core/src/init.ts +++ b/packages/core/src/init.ts @@ -45,7 +45,7 @@ export function commonInit(userConfiguration: UserConfiguration, buildEnv: Build export function checkCookiesAuthorized() { if (!areCookiesAuthorized()) { - console.error('Cookies are not authorized, we will not send any data.') + console.warn('Cookies are not authorized, we will not send any data.'); return false } return true From f18970154310da7754ef04fa6295ae9f4cd2ba2b Mon Sep 17 00:00:00 2001 From: "maxime.quentin" Date: Tue, 17 Mar 2020 17:25:56 +0100 Subject: [PATCH 2/2] run prettier --- packages/core/src/init.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/init.ts b/packages/core/src/init.ts index 0318e3a979..a2abd90622 100644 --- a/packages/core/src/init.ts +++ b/packages/core/src/init.ts @@ -45,7 +45,7 @@ export function commonInit(userConfiguration: UserConfiguration, buildEnv: Build export function checkCookiesAuthorized() { if (!areCookiesAuthorized()) { - console.warn('Cookies are not authorized, we will not send any data.'); + console.warn('Cookies are not authorized, we will not send any data.') return false } return true