Skip to content

Commit

Permalink
config keys logging fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ConfigCat committed Jan 10, 2020
1 parent 0df3820 commit ec8a151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/configcat/rolloutevaluator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def self.evaluate(key, user, default_value, config)

setting_descriptor = config.fetch(key, nil)
if setting_descriptor === nil
ConfigCat.logger.error("Evaluating get_value('%s') failed. Value not found for key '%s' Returning default_value: [%s]. Here are the available keys: %s" % [key, key, default_value.to_s, config.to_a.join(", ")])
ConfigCat.logger.error("Evaluating get_value('%s') failed. Value not found for key '%s' Returning default_value: [%s]. Here are the available keys: %s" % [key, key, default_value.to_s, config.keys.join(", ")])
return default_value
end

Expand Down

0 comments on commit ec8a151

Please sign in to comment.