Kubernetes refactoring
parent
8f79ef98f8
commit
587ccb4493
|
|
@ -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();
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue