We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b861a72 commit 4730f9aCopy full SHA for 4730f9a
src/main/java/com/flagsmith/flagengine/segments/SegmentEvaluator.java
@@ -175,13 +175,7 @@ private static Boolean contextMatchesCondition(
175
if (contextValue == null) {
176
return false;
177
}
178
- try {
179
- return TypeCasting.compare(operator, contextValue, conditionValue);
180
- } catch (Exception e) {
181
- throw new RuntimeException(
182
- "Error comparing values: "
183
- + String.valueOf(contextValue) + " and " + String.valueOf(conditionValue));
184
- }
+ return TypeCasting.compare(operator, contextValue, conditionValue);
185
186
187
0 commit comments