Fix: error handling
parent
e7410ab95b
commit
045c4217d1
|
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue