Skip to content

Commit 201548f

Browse files
committed
add reasons to return
1 parent 17efc27 commit 201548f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

optimizely/optimizely_user_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def find_validated_forced_decision(self, decision_context):
248248
# otherwise we would us self.client instead of config
249249
config = self.client.config_manager.get_config() if self.client else None
250250
if not config:
251-
return None
251+
return None, reasons
252252
variation = config.get_flag_variation(flag_key, 'key', forced_decision.variation_key)
253253
if variation:
254254
if rule_key:

0 commit comments

Comments
 (0)