parameterize s3
parent
ea054001ff
commit
c4f7a0ce2b
|
|
@ -3306,7 +3306,9 @@ class Kubernetes {
|
|||
}
|
||||
// const reason = errorParsed.reason || errorParsed.response?.body?.reason || ``;
|
||||
const errorMessage = errorParsed.message || ``;
|
||||
const continueStreaming = errorMessage.includes(`dial timeout, backstop`) || errorMessage.includes(`HttpError: HTTP request failed`);
|
||||
const continueStreaming = errorMessage.includes(`dial timeout, backstop`) ||
|
||||
errorMessage.includes(`HttpError: HTTP request failed`) ||
|
||||
errorMessage.includes(`an error occurred when try to find container`);
|
||||
if (continueStreaming) {
|
||||
cloud_runner_logger_1.default.log('Log Stream Container Not Found');
|
||||
yield new Promise((resolve) => resolve(5000));
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -167,7 +167,9 @@ class Kubernetes implements ProviderInterface {
|
|||
const errorMessage = errorParsed.message || ``;
|
||||
|
||||
const continueStreaming =
|
||||
errorMessage.includes(`dial timeout, backstop`) || errorMessage.includes(`HttpError: HTTP request failed`);
|
||||
errorMessage.includes(`dial timeout, backstop`) ||
|
||||
errorMessage.includes(`HttpError: HTTP request failed`) ||
|
||||
errorMessage.includes(`an error occurred when try to find container`);
|
||||
if (continueStreaming) {
|
||||
CloudRunnerLogger.log('Log Stream Container Not Found');
|
||||
await new Promise((resolve) => resolve(5000));
|
||||
|
|
|
|||
Loading…
Reference in New Issue