Skip to content

Commit

Permalink
🐛 replace console.error by console.warn when cookies are not supported (
Browse files Browse the repository at this point in the history
#307)

* 🐛 replace console.error by console.warn when cookies are not supported

* run prettier
  • Loading branch information
mquentin authored Mar 18, 2020
1 parent 4eb6e87 commit 24f38e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24f38e2

Please sign in to comment.