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

Commit

Permalink
dbworker: include recordID in fetchDebugInformationForJob error (#58036)
Browse files Browse the repository at this point in the history
Not sure why go's format string linter isn't picking this up.

Test Plan: n/a
  • Loading branch information
keegancsmith authored Nov 1, 2023
1 parent 315eaf3 commit 714aca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/workerutil/dbworker/store/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ func (s *store[T]) fetchDebugInformationForJob(ctx context.Context, recordID int
return "", err
}
if !ok {
return "", errors.Newf("fetching debug information for record %d didn't return rows")
return "", errors.Newf("fetching debug information for record %d didn't return rows", recordID)
}
return debug, nil
}
Expand Down

0 comments on commit 714aca7

Please sign in to comment.