From b8a1088af073494be9708ceb4c5208b75cf7ed82 Mon Sep 17 00:00:00 2001 From: Sonja Krause-Harder Date: Tue, 26 May 2020 11:35:41 +0200 Subject: [PATCH] Add registry url to error messages. --- .../ingest_manager/server/services/epm/registry/requests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/ingest_manager/server/services/epm/registry/requests.ts b/x-pack/plugins/ingest_manager/server/services/epm/registry/requests.ts index 632670e9ef096..6d039345e31c3 100644 --- a/x-pack/plugins/ingest_manager/server/services/epm/registry/requests.ts +++ b/x-pack/plugins/ingest_manager/server/services/epm/registry/requests.ts @@ -16,13 +16,13 @@ export async function getResponse(url: string): Promise { } else { throw new IngestManagerError( IngestManagerErrorType.RegistryError, - `Error connecting to package registry: ${response.statusText}` + `Error connecting to package registry at ${url}: ${response.statusText}` ); } } catch (e) { throw new IngestManagerError( IngestManagerErrorType.RegistryError, - `Error connecting to package registry: ${e.message}` + `Error connecting to package registry at ${url}: ${e.message}` ); } }