summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-01-28 15:18:15 +0100
committerWojtek Kosior <koszko@koszko.org>2022-01-28 15:18:15 +0100
commitea9df6c7688613783ca114f0f11c6f6baf30036b (patch)
treeb3ed1a2bdfcd313a992ac4d7618b2a860949dbe3 /common
parentfbfddb02afc6f144b1255b677e0d4249adc10b89 (diff)
downloadbrowser-extension-ea9df6c7688613783ca114f0f11c6f6baf30036b.tar.gz
browser-extension-ea9df6c7688613783ca114f0f11c6f6baf30036b.zip
update error reporting in popup
Diffstat (limited to 'common')
-rw-r--r--common/policy.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/policy.js b/common/policy.js
index 7ab9b5d..546aeed 100644
--- a/common/policy.js
+++ b/common/policy.js
@@ -66,7 +66,7 @@ function decide_policy(patterns_tree, url, default_allow, secret)
} catch (e) {
console.error(e);
policy.allow = false;
- policy.error = true;
+ policy.error = {haketilo_error_type: "deciding_policy"};
}
if (payloads !== undefined) {