diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-01-28 15:18:15 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-01-28 15:18:15 +0100 |
commit | ea9df6c7688613783ca114f0f11c6f6baf30036b (patch) | |
tree | b3ed1a2bdfcd313a992ac4d7618b2a860949dbe3 /common | |
parent | fbfddb02afc6f144b1255b677e0d4249adc10b89 (diff) | |
download | browser-extension-ea9df6c7688613783ca114f0f11c6f6baf30036b.tar.gz browser-extension-ea9df6c7688613783ca114f0f11c6f6baf30036b.zip |
update error reporting in popup
Diffstat (limited to 'common')
-rw-r--r-- | common/policy.js | 2 |
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) { |