Skip to content

Commit

Permalink
Merge pull request #8 from nakamuraos/feature/add-debug
Browse files Browse the repository at this point in the history
add debug
  • Loading branch information
nakamuraos authored Mar 16, 2024
2 parents b3e3ac8 + 261d1ce commit 470f377
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ async function run() {
const status = JobStatus.parse(core.getInput('status', { required: true }))
const threadKey = core.getInput('threadKey', { required: false })

core.debug(`input params: title=${title}, subtitle=${subtitle}, status=${status}, webhookUrl=${webhookUrl}, threadKey=${threadKey}`)
core.debug(
`input params: title=${title}, subtitle=${subtitle}, status=${status}, webhookUrl=${webhookUrl}, threadKey=${threadKey}`,
)

await GoogleChat.notify({ title, subtitle, webhookUrl, status, threadKey })
console.info('Sent message.')
} catch (error: any) {
core.debug(error)
core.setFailed(error.message)
}
}
Expand Down

0 comments on commit 470f377

Please sign in to comment.