Improve k8s logging accuracy

pull/496/head
Frostebite 2023-02-02 21:52:05 +00:00
parent 5bf2cdae38
commit ac9288231e
3 changed files with 3 additions and 1 deletions

1
dist/index.js generated vendored
View File

@ -3334,6 +3334,7 @@ class Kubernetes {
}
const errorMessage = errorParsed.name || errorParsed.reason || ((_b = (_a = errorParsed.response) === null || _a === void 0 ? void 0 : _a.body) === null || _b === void 0 ? void 0 : _b.reason) || errorParsed.message;
const continueStreaming = errorMessage.includes(`dial timeout, backstop`) ||
errorMessage.includes(`HttpError`) ||
errorMessage.includes(`HttpError: HTTP request failed`) ||
errorMessage.includes(`an error occurred when try to find container`) ||
errorMessage.includes(`not found`) ||

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -168,6 +168,7 @@ class Kubernetes implements ProviderInterface {
const continueStreaming =
errorMessage.includes(`dial timeout, backstop`) ||
errorMessage.includes(`HttpError`) ||
errorMessage.includes(`HttpError: HTTP request failed`) ||
errorMessage.includes(`an error occurred when try to find container`) ||
errorMessage.includes(`not found`) ||