From 09ec5f0d4d809d466c0584e479b7c129d5d1ede3 Mon Sep 17 00:00:00 2001 From: Emily Doherty Date: Fri, 12 Apr 2024 05:06:41 -0700 Subject: [PATCH] Change logs to warnings, since that's what they really are (cherry picked from commit 4a7c03307d7a01eb090104ad785101fc2fea403e) --- src/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.js b/src/index.js index e5f95ab..51dc866 100644 --- a/src/index.js +++ b/src/index.js @@ -258,7 +258,7 @@ function detectRegionQuery(urlSearchParams) { } } } else { - console.log("An incorrect or malformed region selection was made in the query string"); + console.warn("An incorrect or malformed region selection was made in the query string"); } } @@ -276,7 +276,7 @@ function detectTimeQuery(urlSearchParams) { } } } else { - console.log("An incorrect or malformed time selection was made in the query string"); + console.warn("An incorrect or malformed time selection was made in the query string"); } } @@ -292,7 +292,7 @@ function detectAggregateQuery(urlSearchParams) { } aggregateFunctionToggle(); } else { - console.log("An incorrect or malformed aggregate selection was made in the query string"); + console.warn("An incorrect or malformed aggregate selection was made in the query string"); } }