From 4970930c2f866133c38fa73800f1a963f0856692 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 4 Mar 2022 16:57:07 +0100 Subject: prepend all generated console messages with 'Haketilo:' --- background/stream_filter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'background/stream_filter.js') diff --git a/background/stream_filter.js b/background/stream_filter.js index 0de7f49..921523a 100644 --- a/background/stream_filter.js +++ b/background/stream_filter.js @@ -106,8 +106,8 @@ function create_decoder(properties, data) { let charset = charset_from_BOM(data) || properties.detected_charset; if (!charset && data.indexOf(0) !== -1) { - console.debug("Warning: zeroes in bytestream, probable cached encoding mismatch. Trying to decode it as UTF-16.", - properties); + console.warn("Haketilo: zeroes in bytestream, probable cached encoding mismatch. Trying to decode it as UTF-16.", + properties); return new TextDecoder("utf-16be"); } -- cgit v1.2.3