Allow the transaction to commit on failure in CSV processing
This commit is contained in:
parent
d287fa44df
commit
f2ea1367e2
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue