File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed
src/main/kotlin/com/statsig/sdk Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ RELEASE_SIGNING_ENABLED=true
6
6
7
7
GROUP =com.statsig.serversdk
8
8
POM_ARTIFACT_ID =serversdk
9
- VERSION_NAME =1.4.0
9
+ VERSION_NAME =1.4.1
10
10
11
11
POM_NAME =Statsig Server SDK
12
12
POM_DESCRIPTION =A feature gating and a/b testing library for statsig
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import kotlinx.coroutines.CoroutineScope
5
5
import kotlinx.coroutines.launch
6
6
import ua_parser.Parser
7
7
import java.lang.Long.parseLong
8
+ import java.lang.NumberFormatException
8
9
import java.nio.ByteBuffer
9
10
import java.security.MessageDigest
10
11
import java.time.Instant
@@ -849,6 +850,8 @@ internal class Evaluator(
849
850
850
851
return try {
851
852
compare(version1Str, version2Str)
853
+ } catch (e: NumberFormatException ) {
854
+ false
852
855
} catch (e: Exception ) {
853
856
errorBoundary.logException(" versionCompareHelper" , e)
854
857
println (" [Statsig]: An exception was caught: $e " )
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package com.statsig.sdk
2
2
3
3
import java.util.Properties
4
4
5
- private const val VERSION = " 1.4.0 "
5
+ private const val VERSION = " 1.4.1 "
6
6
7
7
internal class StatsigMetadata {
8
8
companion object {
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ sealed class StatsigServer {
68
68
69
69
@JvmSynthetic abstract fun removeConfigOverride (configName : String )
70
70
71
- @JvmSynthetic abstract fun getClientInitializeResponse (user : StatsigUser ): Map <String , Any >
71
+ abstract fun getClientInitializeResponse (user : StatsigUser ): Map <String , Any >
72
72
73
73
fun logEvent (user : StatsigUser ? , eventName : String ) {
74
74
logEvent(user, eventName, null )
You can’t perform that action at this time.
0 commit comments