Allow the transaction to commit on failure in CSV processing

This commit is contained in:
Eli Ribble 2026-03-19 03:19:17 +00:00
parent d287fa44df
commit f2ea1367e2
No known key found for this signature in database

View file

@ -186,7 +186,7 @@ func JobImport(ctx context.Context, txn bob.Executor, file_id int32) error {
log.Error().Err(err).Msg("Failed to set upload to error status")
}
}
return err
return nil
}
func importCSV[T any](ctx context.Context, file_id int32, parser csvParserFunc[T], processor csvProcessorFunc[T]) error {