Add error info
This commit is contained in:
parent
5666cd8fe9
commit
c9fa0e0aa0
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue