mirror of https://github.com/go-gorm/gorm.git
ignore AddError return error
This commit is contained in:
parent
93f28bc116
commit
2cb4088456
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue