Kubernetes refactoring

pull/273/head
Frostebite 2021-06-06 21:33:09 +01:00
parent 8f79ef98f8
commit 587ccb4493
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -977,7 +977,7 @@ class Kubernetes {
yield this.streamLogs();
}
catch (error) {
core.error(JSON.stringify(error, undefined, 4));
core.error(JSON.stringify(error.response.body, undefined, 4));
}
finally {
yield this.cleanup();

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -265,7 +265,7 @@ class Kubernetes implements RemoteBuilderProviderInterface {
await this.watchUntilPodRunning();
await this.streamLogs();
} catch (error) {
core.error(JSON.stringify(error, undefined, 4));
core.error(JSON.stringify(error.response.body, undefined, 4));
} finally {
await this.cleanup();
}