Skip to content

Commit 4730f9a

Browse files
committed
remove debugging code
1 parent b861a72 commit 4730f9a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/main/java/com/flagsmith/flagengine/segments/SegmentEvaluator.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,7 @@ private static Boolean contextMatchesCondition(
175175
if (contextValue == null) {
176176
return false;
177177
}
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-
}
178+
return TypeCasting.compare(operator, contextValue, conditionValue);
185179
}
186180
}
187181

0 commit comments

Comments
 (0)