Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMarstonConnell committed Jul 2, 2024
1 parent 276b89f commit 961e5a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jprov/strays/hand_process.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func (h *LittleHand) Process(ctx *utils.Context, m *StrayManager) { // process t

err := h.ClaimStray(m)
if err != nil {
ctx.Logger.Error("failed to claim stray: %s", err.Error())
ctx.Logger.Error("failed to claim stray: %w", err)

Check failure on line 131 in jprov/strays/hand_process.go

View workflow job for this annotation

GitHub Actions / lint

slog: slog.Logger.Error arg "err" should be a string or a slog.Attr (possible missing key or value) (govet)
return
}

Expand Down

0 comments on commit 961e5a9

Please sign in to comment.