diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-03-04 16:57:07 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-03-04 17:25:17 +0100 |
commit | 4970930c2f866133c38fa73800f1a963f0856692 (patch) | |
tree | 5cb1f7aaa317b02dbc266a62e07c21b05340b106 /html/popup.js | |
parent | 7fdb3e8474488de2b18da7e9b63719bb05961819 (diff) | |
download | browser-extension-4970930c2f866133c38fa73800f1a963f0856692.tar.gz browser-extension-4970930c2f866133c38fa73800f1a963f0856692.zip |
prepend all generated console messages with 'Haketilo:'
Diffstat (limited to 'html/popup.js')
-rw-r--r-- | html/popup.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/popup.js b/html/popup.js index ddc0f51..5a5db6c 100644 --- a/html/popup.js +++ b/html/popup.js @@ -59,7 +59,7 @@ async function get_current_tab() { try { return (await promise)[0]; } catch(e) { - console.log(e); + console.log("Haketilo:", e); } } @@ -157,7 +157,7 @@ async function main() { else var page_info = await get_page_info(tab_id); } catch(e) { - console.error(e); + console.error("Haketilo:", e); } if (page_info) { |