Log errors properly
This commit is contained in:
parent
0f23ecde25
commit
dcdc399fea
|
@ -39,7 +39,7 @@ function updateTab(info) {
|
||||||
code: "document.title = '" + title + "';"
|
code: "document.title = '" + title + "';"
|
||||||
}, function() {
|
}, function() {
|
||||||
if (chrome.runtime.lastError) {
|
if (chrome.runtime.lastError) {
|
||||||
console.log(chrome.runtime.lastError.message);
|
console.error(chrome.runtime.lastError.message);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue