Skip to content

Commit

Permalink
typo fix + better log message
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltan-david committed Aug 30, 2022
1 parent 6f6a08b commit 9a397f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ConfigCatClient/Evaluate/RolloutEvaluator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ private EvaluateResult EvaluateLogic(IDictionary<string, Setting> settings, stri
if (!settings.TryGetValue(key, out var setting))
{
var keys = string.Join(",", settings.Keys.Select(s => $"'{s}'").ToArray());
this.log.Error($"Evaluating '{key}' failed (key not found in ConfigCat). Returning the defaultValue defined in the app source code: '{logDefaultValue}'. Here are the available keys: {keys}.");
this.log.Error($"Evaluating '{key}' failed (key not found in ConfigCat). Returning the defaultValue that you defined in the source code: '{logDefaultValue}'. Here are the available keys: {keys}.");
return null;
}

Expand Down Expand Up @@ -145,7 +145,7 @@ private static bool TryEvaluateVariations<T>(ICollection<RolloutPercentageItem>
var hashValue = hashCandidate.Hash().Substring(0, 7);

var hashScale = int.Parse(hashValue, NumberStyles.HexNumber) % 100;
evaluateLog.Log($"Applying the % option that matches the User's pseudo-random '{hashScale}' (this value is sticky and consitent across all SDKs):");
evaluateLog.Log($"Applying the % option that matches the User's pseudo-random '{hashScale}' (this value is sticky and consistent across all SDKs):");

var bucket = 0;

Expand Down

0 comments on commit 9a397f8

Please sign in to comment.