Skip to content

Commit 5796cb7

Browse files
update: modify DecisionResponse to include additional error handling information
1 parent 36d2b4c commit 5796cb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core-api/src/main/java/com/optimizely/ab/bucketing/DecisionService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ private DecisionResponse<CmabDecision> getDecisionForCmabExperiment(@Nonnull Pro
931931
reasons.addInfo(errorMessage);
932932
logger.error("{} {}", errorMessage, e.getMessage());
933933

934-
return new DecisionResponse<>(null, reasons);
934+
return new DecisionResponse<>(null, reasons, true, null);
935935
}
936936
}
937937

0 commit comments

Comments
 (0)