in app/lib/sentry/SentryApiClient.scala [24:36]
def createRelease(createReleaseCommand: CreateRelease): Future[_] = {
val request = new Builder().url(s"$baseEndpoint/organizations/$org/releases/")
.header("Authorization", s"Bearer $token")
.post(RequestBody.create(JsonMediaType, stringify(toJson(createReleaseCommand))))
.build()
val responseF = okHttpClient.execute(request)(resp => logger.info(resp.body().string()))
responseF.onComplete {
tr => logger.info("Response from Sentry: " + tr)
}
responseF
}