NTP-327 | Sohan Reddy | Fixed a bug in metrics interceptor (#11389)

This commit is contained in:
Sohan Reddy Atukula
2024-06-16 19:35:23 +05:30
committed by GitHub
parent d193116199
commit 2a7c77bee8

View File

@@ -91,7 +91,7 @@ class MetricInterceptor : Interceptor {
map[Constants.REQUEST_BODY] = requestBody
}
if (shouldEnableResponseLogging != null) {
map[Constants.RESPONSE] = response.body?.string().toJson()
map[Constants.RESPONSE] = response.peekBody(Long.MAX_VALUE).string().toJson()
}
NaviTrackEvent.trackEventOnClickStream(