From 4970930c2f866133c38fa73800f1a963f0856692 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 4 Mar 2022 16:57:07 +0100 Subject: prepend all generated console messages with 'Haketilo:' --- html/repo_query.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'html/repo_query.js') 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)) -- cgit v1.2.3