Skip to content

Commit af02698

Browse files
committed
Update provider.rb
1 parent 2c8313d commit af02698

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/configcat-openfeature-provider/provider.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,6 @@ def fetch_object_value(flag_key:, default_value:, evaluation_context: nil)
157157
#
158158
# @return [String]
159159
private def produce_reason(evaluation_detail)
160-
unless evaluation_detail.error.nil?
161-
return ::OpenFeature::SDK::Provider::Reason::ERROR
162-
end
163-
164160
if !evaluation_detail.matched_targeting_rule.nil? || !evaluation_detail.matched_percentage_option.nil?
165161
return ::OpenFeature::SDK::Provider::Reason::TARGETING_MATCH
166162
end

0 commit comments

Comments
 (0)