Fix error hadling

Ref #25
This commit is contained in:
Federico Grandi
2020-04-19 19:47:38 +02:00
parent 2d77fa2c79
commit 5f12f937cb

View File

@@ -6,7 +6,8 @@ try {
checkInputs()
execFileSync(path(__dirname, 'entrypoint.sh'))
} catch (err) {
setFailed(err)
console.error(err)
setFailed(err instanceof Error ? err.message : err)
}
function checkInputs() {