From ca4ce7bce8f36660d415e1a3f7e1632b9a9ea97a Mon Sep 17 00:00:00 2001 From: guoguangwu Date: Wed, 29 Mar 2023 10:25:26 +0800 Subject: [PATCH] fix : misspelled word (#3075) --- core/stores/sqlx/tx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/stores/sqlx/tx.go b/core/stores/sqlx/tx.go index e95c41c4..e0d25a17 100644 --- a/core/stores/sqlx/tx.go +++ b/core/stores/sqlx/tx.go @@ -159,7 +159,7 @@ func transactOnConn(ctx context.Context, conn *sql.DB, b beginnable, if e := tx.Rollback(); e != nil { err = fmt.Errorf("recover from %#v, rollback failed: %w", p, e) } else { - err = fmt.Errorf("recoveer from %#v", p) + err = fmt.Errorf("recover from %#v", p) } } else if err != nil { if e := tx.Rollback(); e != nil {