Skip to content

Commit a27a45f

Browse files
committed
log comparator input types
1 parent c821e67 commit a27a45f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

codeflash/verification/comparator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ def comparator(orig: Any, new: Any, superset_obj=False) -> bool: # noqa: ANN001
289289
return True
290290
# TODO : Add other types here
291291
logger.warning(f"Unknown comparator input type: {type(orig)}")
292+
sentry_sdk.capture_exception(RuntimeError(f"Unknown comparator input type: {type(orig)}"))
292293
return False # noqa: TRY300
293294
except RecursionError as e:
294295
logger.error(f"RecursionError while comparing objects: {e}")

0 commit comments

Comments
 (0)