From dcdc399fea3cb300e6f66240953ba412a288f2dd Mon Sep 17 00:00:00 2001 From: Gregory Eremin Date: Sun, 21 Sep 2014 22:29:57 +0400 Subject: [PATCH] Log errors properly --- background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/background.js b/background.js index dd6dc09..fc56ec1 100644 --- a/background.js +++ b/background.js @@ -39,7 +39,7 @@ function updateTab(info) { code: "document.title = '" + title + "';" }, function() { if (chrome.runtime.lastError) { - console.log(chrome.runtime.lastError.message); + console.error(chrome.runtime.lastError.message); } }); };