enhance: [2.5] Add try-catch and return CStatus for NewCollection (#39279) #39303
68.75% of diff hit (target 80.00%)
View this Pull Request on Codecov
68.75% of diff hit (target 80.00%)
Annotations
Check warning on line 22 in internal/core/src/segcore/collection_c.cpp
codecov / codecov/patch
internal/core/src/segcore/collection_c.cpp#L22
Added line #L22 was not covered by tests
Check warning on line 32 in internal/core/src/segcore/collection_c.cpp
codecov / codecov/patch
internal/core/src/segcore/collection_c.cpp#L25-L32
Added lines #L25 - L32 were not covered by tests
Check warning on line 45 in internal/core/src/segcore/collection_c.cpp
codecov / codecov/patch
internal/core/src/segcore/collection_c.cpp#L43-L45
Added lines #L43 - L45 were not covered by tests
Check warning on line 45 in internal/util/segcore/collection.go
codecov / codecov/patch
internal/util/segcore/collection.go#L44-L45
Added lines #L44 - L45 were not covered by tests