ignore AddError return error

This commit is contained in:
Joe 2022-07-01 14:37:38 +08:00
parent 93f28bc116
commit 2cb4088456
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ func (p *processor) Begin(tx *DB, opt *sql.TxOptions) *DB {
} }
if err != nil { if err != nil {
tx.AddError(err) _ = tx.AddError(err)
} }
return tx return tx