0.1.2 release (#22)

* 0.1.2 release

* trace the error and show a user readable message
This commit is contained in:
Thomas Boop
2022-06-23 08:57:14 -04:00
committed by GitHub
parent eb47baaf5e
commit e2033b29c7
4 changed files with 7 additions and 6 deletions

View File

@@ -1,3 +1,4 @@
import * as core from '@actions/core'
import * as k8s from '@kubernetes/client-node'
import { ContainerInfo, Registry } from 'hooklib'
import * as stream from 'stream'
@@ -200,12 +201,13 @@ export async function execPodStep(
if (resp.status === 'Success') {
resolve(resp.code)
} else {
reject(
core.debug(
JSON.stringify({
message: resp?.message,
details: resp?.details
})
)
reject(resp?.message)
}
}
)