Skip to content

Commit

Permalink
Extra safety check
Browse files Browse the repository at this point in the history
  • Loading branch information
gthea committed Sep 13, 2023
1 parent 3b3caa6 commit bf8bca2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ private TelemetryTaskFactory initializeTelemetryTaskFactory(@NonNull SplitClient
SplitFilter bySetFilter = filters.get(SplitFilter.Type.BY_SET);
if (bySetFilter != null) {
flagSetCount = bySetFilter.getValues().size();
invalidFlagSetCount = splitClientConfig.syncConfig().getInvalidValueCount();
invalidFlagSetCount = (splitClientConfig.syncConfig() != null) ?
splitClientConfig.syncConfig().getInvalidValueCount() : 0;
}
}

Expand Down

0 comments on commit bf8bca2

Please sign in to comment.