@@ -109,7 +109,7 @@ internal class SpecStore constructor(
109
109
configString = gson.toJson(configSpecs)
110
110
} catch (e: Exception ) {
111
111
errorBoundary.logException(" fireRulesUpdatedCallback" , e)
112
- println (" [Statsig]: An exception was caught: $e " )
112
+ options.customLogger.warning (" [Statsig]: An exception was caught: $e " )
113
113
}
114
114
115
115
if (configString.isEmpty()) {
@@ -241,7 +241,7 @@ internal class SpecStore constructor(
241
241
diagnostics.markEnd(KeyType .GET_ID_LIST , true , StepType .PROCESS , additionalMarker = Marker (url = list.url))
242
242
} catch (e: Exception ) {
243
243
errorBoundary.logException(" downloadIDList" , e)
244
- println (" [Statsig]: An exception was caught: $e " )
244
+ options.customLogger.warning (" [Statsig]: An exception was caught: $e " )
245
245
diagnostics.markEnd(KeyType .GET_ID_LIST , false , StepType .NETWORK_REQUEST , additionalMarker = Marker (url = list.url))
246
246
} finally {
247
247
response?.close()
@@ -431,7 +431,7 @@ internal class SpecStore constructor(
431
431
return gson.fromJson(specs, APIDownloadedConfigs ::class .java)
432
432
} catch (e: Exception ) {
433
433
errorBoundary.logException(" parseConfigSpecs" , e)
434
- println (" [Statsig]: An exception was caught: $e " )
434
+ options.customLogger.warning (" [Statsig]: An exception was caught: $e " )
435
435
}
436
436
return null
437
437
}
@@ -450,7 +450,7 @@ internal class SpecStore constructor(
450
450
return configs
451
451
} catch (e: Exception ) {
452
452
errorBoundary.logException(" downloadConfigSpecs" , e)
453
- println (" [Statsig]: An exception was caught: $e " )
453
+ options.customLogger.warning (" [Statsig]: An exception was caught: $e " )
454
454
} finally {
455
455
response?.close()
456
456
}
0 commit comments