From 2f01a5be2663206da94d797d5a342f785908a09e Mon Sep 17 00:00:00 2001 From: Ivan Shmidt Date: Mon, 25 May 2020 10:21:59 +0200 Subject: [PATCH] fix: error message --- .../src/ingestion/sources/GitHubLocationSource.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/catalog-backend/src/ingestion/sources/GitHubLocationSource.ts b/plugins/catalog-backend/src/ingestion/sources/GitHubLocationSource.ts index a16cc9ae56..ac0a2faa23 100644 --- a/plugins/catalog-backend/src/ingestion/sources/GitHubLocationSource.ts +++ b/plugins/catalog-backend/src/ingestion/sources/GitHubLocationSource.ts @@ -45,7 +45,7 @@ export class GitHubLocationSource implements LocationSource { blobKeyword !== 'blob' || !restOfPath.join('/').match(/\.yaml$/) ) { - throw new Error(); + throw new Error('Wrong GitHub URL'); } // Removing the "blob" part