refactor: change info logs to debug or warning
This CL converts some info-level messages to the debug level because
they're irrelevant and shouldn't be shown by default in the Javascript
console.
Also, one info-level message has been converted to a warning because it
represents a situation that couldn't be handled by the extension which
causes the feature to behave in an unexpected manner.
Change-Id: If1a153320c502bd5a2805597c8558456039a89a1
diff --git a/src/contentScripts/communityConsole/workflows/import.js b/src/contentScripts/communityConsole/workflows/import.js
index 8172b62..c91b541 100644
--- a/src/contentScripts/communityConsole/workflows/import.js
+++ b/src/contentScripts/communityConsole/workflows/import.js
@@ -76,7 +76,7 @@
// If another CR has the same name, there's no easy way to distinguish
// them, so don't inject the button.
if (crs.duplicateNames.has(name)) {
- console.info(
+ console.warning(
'CR "' + name +
'" is duplicate, so skipping the injection of the button.');
return;