From ea9df6c7688613783ca114f0f11c6f6baf30036b Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 28 Jan 2022 15:18:15 +0100 Subject: update error reporting in popup --- common/policy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') 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) { -- cgit v1.2.3