From 24f38e2a3e4ed1dc32195dda54bb38e3b17c0c88 Mon Sep 17 00:00:00 2001 From: Maxime Quentin Date: Wed, 18 Mar 2020 09:31:33 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20replace=20console.error=20by=20c?= =?UTF-8?q?onsole.warn=20when=20cookies=20are=20not=20supported=20(#307)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🐛 replace console.error by console.warn when cookies are not supported * 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 91fdbbf414..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.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