Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Djaler committed Jul 9, 2024
1 parent 2e29cb5 commit 4c8a3e1
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import io.ktor.client.plugins.api.createClientPlugin
import io.ktor.client.plugins.contentnegotiation.ContentNegotiation
import io.ktor.client.plugins.logging.LogLevel
import io.ktor.client.plugins.logging.Logging
import io.ktor.client.statement.bodyAsText
import io.ktor.client.statement.request
import io.ktor.http.ContentType
import io.ktor.serialization.jackson.JacksonConverter
import io.sentry.Breadcrumb
Expand Down Expand Up @@ -48,15 +46,15 @@ val SentryPlugin = createClientPlugin("SentryPlugin") {
)
}

onResponse {response ->
/*onResponse {response ->
val request = response.request
Sentry.addBreadcrumb(
Breadcrumb.http(
request.url.toString(),
request.method.value
).apply {
setData("response", response.bodyAsText())
setData("content", response.bodyAsText())
}
)
}
}*/
}

0 comments on commit 4c8a3e1

Please sign in to comment.