aboutsummaryrefslogtreecommitdiff
path: root/common/policy.js
diff options
context:
space:
mode:
Diffstat (limited to 'common/policy.js')
-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) {