Skip to content

Commit

Permalink
ass msgf missing parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersonQ committed Sep 29, 2022
1 parent 445168e commit 1c7d09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/dl/migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func migrate(ctx context.Context, bulker bulk.Bulk, fn migrationBodyFn) (int, er
if err != nil {
log.Err(err).
Bytes("http.request.body.content", body).
Msgf("migration %s failed: %w", err)
Msgf("migration %s failed: %w", name, err)
return updatedDocs, fmt.Errorf("failed to apply migration %q: %w",
name, err)
}
Expand Down

0 comments on commit 1c7d09e

Please sign in to comment.