sendReport

abstract suspend fun sendReport(report: Report, target: GithubTarget, token: String? = null): String(source)

Files report as an issue in target, authenticated with token when there is one, and returns the created issue's web URL.

Throws

when GitHub refuses the token, the repository or the issue's fields.

when the request fails for any other reason.