Fix: error handling

pull/273/head
Frostebite 2021-06-06 21:19:24 +01:00
parent e7410ab95b
commit 045c4217d1
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -780,7 +780,7 @@ class Kubernetes {
} }
catch (error) { catch (error) {
core.info(JSON.stringify(error, undefined, 4)); core.info(JSON.stringify(error, undefined, 4));
core.error(error); throw error;
} }
core.setOutput('volume', this.pvcName); core.setOutput('volume', this.pvcName);
}); });

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -66,7 +66,7 @@ class Kubernetes implements RemoteBuilderProviderInterface {
await this.runBuildJob(); await this.runBuildJob();
} catch (error) { } catch (error) {
core.info(JSON.stringify(error, undefined, 4)); core.info(JSON.stringify(error, undefined, 4));
core.error(error); throw error;
} }
core.setOutput('volume', this.pvcName); core.setOutput('volume', this.pvcName);