Skip to content

Commit

Permalink
chore: remove log for variable not found and type mismatch (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsalamad authored Apr 18, 2023
1 parent d87ea2a commit c1185cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions lib/devcycle-ruby-server-sdk/api/devcycle_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,7 @@ def variable(user_data, key, default, opts = {})
if local_bucketing_initialized? && @local_bucketing.has_config
type_code = variable_type_code_from_type(type)
variable_pb = variable_for_user_pb(user_data, key, type_code)
if variable_pb == nil
@logger.warn("No variable found or type mismatch for key #{key}, returning default value")
else
unless variable_pb.nil?
value = get_variable_value(variable_pb)
defaulted = false
end
Expand Down
2 changes: 1 addition & 1 deletion lib/devcycle-ruby-server-sdk/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
=end

module DevCycle
VERSION = '2.3.1'
VERSION = '2.3.2'
end

0 comments on commit c1185cf

Please sign in to comment.