Skip to content

Commit

Permalink
fix: add more request debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
prototypicalpro committed Aug 13, 2020
1 parent 39d303e commit f377ec1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ export default async function run(disableRetry?: boolean): Promise<void> {
error: core.error
}
})
octokit.hook.before('request', options =>
core.debug(`${options.method} ${options.url}`)
)

const [owner, repo] = REPO.split('/')
const issueContent = markdownFormatter.formatOutput(result, true)
// create an issue!
Expand Down

0 comments on commit f377ec1

Please sign in to comment.