fixes
parent
31f35b4646
commit
3e189d9f38
|
|
@ -3705,11 +3705,7 @@ class KubernetesTaskRunner {
|
|||
}
|
||||
catch (error) {
|
||||
const errorString = `${error}`;
|
||||
const continueStreaming = errorString.includes(`dial timeout, backstop`) ||
|
||||
errorString.includes(`HttpError: HTTP request failed`) ||
|
||||
errorString.includes(`an error occurred when try to find container`) ||
|
||||
errorString.includes(`not found`) ||
|
||||
errorString.includes(`Not Found`);
|
||||
const continueStreaming = errorString.includes(`dial timeout, backstop`) || errorString.includes(`HttpError: HTTP request failed`);
|
||||
cloud_runner_logger_1.default.log(`K8s logging error ${error} ${continueStreaming}`);
|
||||
if (continueStreaming) {
|
||||
continue;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -51,11 +51,7 @@ class KubernetesTaskRunner {
|
|||
} catch (error: any) {
|
||||
const errorString = `${error}`;
|
||||
const continueStreaming =
|
||||
errorString.includes(`dial timeout, backstop`) ||
|
||||
errorString.includes(`HttpError: HTTP request failed`) ||
|
||||
errorString.includes(`an error occurred when try to find container`) ||
|
||||
errorString.includes(`not found`) ||
|
||||
errorString.includes(`Not Found`);
|
||||
errorString.includes(`dial timeout, backstop`) || errorString.includes(`HttpError: HTTP request failed`);
|
||||
CloudRunnerLogger.log(`K8s logging error ${error} ${continueStreaming}`);
|
||||
if (continueStreaming) {
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in New Issue