Skip to content

Commit

Permalink
Updating the err msg
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacobbrewer1 committed Jan 29, 2025
1 parent 5165210 commit 7f300ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/_update.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (m *{{ $struct }}) Patch(db DB, newT *{{ $struct }}) error {
case errors.Is(err, patcher.ErrNoChanges):
return nil
default:
return fmt.Errorf("failed to generate patch: %w", err)
return fmt.Errorf("new diff sql patch: %w", err)
}
}

Expand Down

0 comments on commit 7f300ff

Please sign in to comment.