Open MalteJanz opened 1 month ago
Also the current implementation may actually be wrong. There could be multiple errors for a single line and in that case it might actually remove some valid lines too 🙈
It stores to_be_removed
in a Vec
, so it could contain the same index twice. Maybe we should use a HashSet
instead or something else to ensure the indices are unique
Currently if a sync API request fails for import:
There should also be a more general error handling if the above doesn't work:
See
src/data/import.rs