File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -852,11 +852,11 @@ def load_module(name, value):
852852 _requires_flow_match = any ("FlowMatch" in class_type for class_type in _expected_class_types )
853853 _is_flow_match = "FlowMatch" in class_obj .__class__ .__name__
854854 if _requires_flow_match and not _is_flow_match :
855- raise ValueError (f"Expected FlowMatch scheduler, got { class_obj .__class__ .__name__ } ." )
855+ logger . warning (f"Expected FlowMatch scheduler, got { class_obj .__class__ .__name__ } ." )
856856 elif not _requires_flow_match and _is_flow_match :
857- raise ValueError (f"Expected non-FlowMatch scheduler, got { class_obj .__class__ .__name__ } ." )
857+ logger . warning (f"Expected non-FlowMatch scheduler, got { class_obj .__class__ .__name__ } ." )
858858 elif not _is_valid_type :
859- raise ValueError (
859+ logger . warning (
860860 f"Expected types for { key } : { _expected_class_types } , got { class_obj .__class__ .__name__ } ."
861861 )
862862
You can’t perform that action at this time.
0 commit comments