Skip to content

Commit

Permalink
my-app: fix Errorf params
Browse files Browse the repository at this point in the history
  • Loading branch information
widmogrod committed Jul 13, 2024
1 parent 4d0dea7 commit 9d42cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/my-app/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ func (service *Service[Dep, CMD, State]) CreateOrUpdate(ctx context.Context, cmd
func (service *Service[Dep, CMD, State]) StateByID(id string) (res State, err error) {
record, err := service.repo.Get(id, service.recordType)
if err != nil {
err = fmt.Errorf("service.Service.StateByID(%s) err=%w", err)
err = fmt.Errorf("service.Service.StateByID(%s) err=%w", id, err)
return
}

Expand Down

0 comments on commit 9d42cda

Please sign in to comment.