Add error info

This commit is contained in:
dsotirakis 2021-03-19 14:37:58 +02:00
parent 5666cd8fe9
commit c9fa0e0aa0

View file

@ -66,6 +66,13 @@ export class GitHubHelper {
) { ) {
core.info(`A pull request already exists for ${headBranch}`) core.info(`A pull request already exists for ${headBranch}`)
} else { } else {
core.info(
`ERROR: title:${inputs.title}
head: ${headBranch},
base: ${inputs.base},
body: ${inputs.body},
draft: ${inputs.draft}`
)
throw e throw e
} }
} }