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(); yield this.streamLogs();
} }
catch (error) { catch (error) {
core.error(JSON.stringify(error, undefined, 4)); core.error(JSON.stringify(error.response.body, undefined, 4));
} }
finally { finally {
yield this.cleanup(); 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.watchUntilPodRunning();
await this.streamLogs(); await this.streamLogs();
} catch (error) { } catch (error) {
core.error(JSON.stringify(error, undefined, 4)); core.error(JSON.stringify(error.response.body, undefined, 4));
} finally { } finally {
await this.cleanup(); await this.cleanup();
} }