Skip to content

Commit

Permalink
Update scope.go
Browse files Browse the repository at this point in the history
Co-authored-by: James Humphries <James@james-humphries.co.uk>
  • Loading branch information
bkielbasa and Yantrio authored May 28, 2024
1 parent a78d582 commit ffa49c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scope.go
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ func (scope *Scope) callCallbacks(funcs []*func(s *Scope)) *Scope {
if db != nil {
db.Rollback()
} else {
panic(fmt.Errorf("db is nil during a Rallback: %v", err))
panic(fmt.Errorf("db is nil during a Rollback: %v", err))
}
}
panic(err)
Expand Down

0 comments on commit ffa49c0

Please sign in to comment.