diff options
Diffstat (limited to 'content/content.js')
-rw-r--r-- | content/content.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/content.js b/content/content.js index 7cbb523..ef2ee39 100644 --- a/content/content.js +++ b/content/content.js @@ -59,7 +59,7 @@ function synchronously_get_policy(url) xhttp.open("GET", request_url, false); xhttp.send(); } catch(e) { - console.error("Failure to synchronously fetch policy for url.", e); + console.error("Haketilo: Failure to synchronously fetch policy for url.", e); return fallback_policy(); } @@ -67,7 +67,7 @@ function synchronously_get_policy(url) const policy = /^[^?]*\?settings=(.*)$/.exec(xhttp.responseURL)[1]; return JSON.parse(decodeURIComponent(policy)); } catch(e) { - console.error("Failure to process synchronously fetched policy for url.", e); + console.error("Haketilo: Failure to process synchronously fetched policy for url.", e); return fallback_policy() } } @@ -108,7 +108,7 @@ async function main() { globalThis.haketilo_default_allow, globalThis.haketilo_secret); } catch(e) { - console.error(e); + console.error("Haketilo:", e); var policy = fallback_policy(); } #ELSE |