aboutsummaryrefslogtreecommitdiff
path: root/html/repo_query.js
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-03-04 16:57:07 +0100
committerWojtek Kosior <koszko@koszko.org>2022-03-04 17:25:17 +0100
commit4970930c2f866133c38fa73800f1a963f0856692 (patch)
tree5cb1f7aaa317b02dbc266a62e07c21b05340b106 /html/repo_query.js
parent7fdb3e8474488de2b18da7e9b63719bb05961819 (diff)
downloadbrowser-extension-4970930c2f866133c38fa73800f1a963f0856692.tar.gz
browser-extension-4970930c2f866133c38fa73800f1a963f0856692.zip
prepend all generated console messages with 'Haketilo:'
Diffstat (limited to 'html/repo_query.js')
-rw-r--r--html/repo_query.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/html/repo_query.js b/html/repo_query.js
index 61f4b10..7cfd6fe 100644
--- a/html/repo_query.js
+++ b/html/repo_query.js
@@ -96,7 +96,7 @@ function RepoEntry(query_view, repo_url) {
const schema = haketilo_schemas[$id];
const result = haketilo_validator.validate(response.json, schema);
if (result.errors.length > 0) {
- console.error(result.errors);
+ console.error("Haketilo:", result.errors);
const reg = new RegExp(schema.properties.$schema.pattern);
if (response.json.$schema && !reg.test(response.json.$schema))