From 4fbcef16700a38235e63ec427b3717a9acc4ad4c Mon Sep 17 00:00:00 2001 From: Vadim Kharin Date: Tue, 30 Jul 2024 11:12:24 +0300 Subject: [PATCH 1/3] Make the error message clearer with optional next steps when app-proxy is unavailable --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 0a0129e..4a47008 100644 --- a/src/main.ts +++ b/src/main.ts @@ -85,7 +85,7 @@ async function main(argv, env): Promise { name = error.name } } else { - message = errorEvent.message || `Unknown error. Something went wrong. ${JSON.stringify(errorEvent)}` + message = errorEvent.message || `App-proxy connection issue. Restart pipeline, and if problem persists, contact support.` } reject(new EventSourceError(message, name)) }) From a0a66d6501f475b551fe1cd2dd3c285d9c7926f0 Mon Sep 17 00:00:00 2001 From: Vadim Kharin Date: Tue, 30 Jul 2024 11:33:25 +0300 Subject: [PATCH 2/3] Make the error message clearer with optional next steps when app-proxy is unavailable --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 4a47008..f814e6f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -85,7 +85,7 @@ async function main(argv, env): Promise { name = error.name } } else { - message = errorEvent.message || `App-proxy connection issue. Restart pipeline, and if problem persists, contact support.` + message = errorEvent.message || `Runtime connection issue. Restart pipeline, and if problem persists, contact support.` } reject(new EventSourceError(message, name)) }) From 2a52b95ceac96fdfffeb9fa89d36c88478e8243d Mon Sep 17 00:00:00 2001 From: Vadim Kharin Date: Tue, 30 Jul 2024 11:36:51 +0300 Subject: [PATCH 3/3] Make the error message clearer with optional next steps when app-proxy is unavailable --- service.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.yaml b/service.yaml index 0ba8a23..891bf06 100644 --- a/service.yaml +++ b/service.yaml @@ -1,2 +1,2 @@ name: codefresh-report-image -version: 0.0.161 +version: 0.0.162