We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2472635 commit 2e2f132Copy full SHA for 2e2f132
src/main/java/com/statsig/androidsdk/StatsigNetwork.kt
@@ -478,7 +478,7 @@ internal class StatsigNetworkImpl(
478
Marker(attempt = retries),
479
contextType,
480
)
481
- val outputStream = if (shouldCompressLogEvent(urlConfig, url.path)) {
+ val outputStream = if (shouldCompressLogEvent(urlConfig, url.toString())) {
482
connection.setRequestProperty("Content-Encoding", "gzip") // Tell the server it's gzipped
483
GZIPOutputStream(connection.outputStream)
484
} else {
@@ -534,7 +534,6 @@ internal class StatsigNetworkImpl(
534
}
535
536
} catch (e: Exception) {
537
- println(e)
538
errorMessage = e.message
539
throw e
540
} finally {
0 commit comments