enhance: catch std::stoi exception and improve error msg #36296
41.17% of diff hit (target 80.00%)
View this Pull Request on Codecov
41.17% of diff hit (target 80.00%)
Annotations
Check warning on line 137 in internal/core/src/index/Utils.cpp
codecov / codecov/patch
internal/core/src/index/Utils.cpp#L133-L137
Added lines #L133 - L137 were not covered by tests
Check warning on line 164 in internal/core/src/index/Utils.cpp
codecov / codecov/patch
internal/core/src/index/Utils.cpp#L163-L164
Added lines #L163 - L164 were not covered by tests
Check warning on line 169 in internal/core/src/index/Utils.cpp
codecov / codecov/patch
internal/core/src/index/Utils.cpp#L167-L169
Added lines #L167 - L169 were not covered by tests
Check warning on line 248 in internal/core/src/storage/DiskFileManagerImpl.cpp
codecov / codecov/patch
internal/core/src/storage/DiskFileManagerImpl.cpp#L244-L248
Added lines #L244 - L248 were not covered by tests
Check warning on line 311 in internal/core/src/storage/DiskFileManagerImpl.cpp
codecov / codecov/patch
internal/core/src/storage/DiskFileManagerImpl.cpp#L307-L311
Added lines #L307 - L311 were not covered by tests