From 714aca7646c7101c34f67369666abde55da157ea Mon Sep 17 00:00:00 2001 From: Keegan Carruthers-Smith Date: Wed, 1 Nov 2023 16:13:59 +0200 Subject: [PATCH] dbworker: include recordID in fetchDebugInformationForJob error (#58036) Not sure why go's format string linter isn't picking this up. Test Plan: n/a --- internal/workerutil/dbworker/store/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/workerutil/dbworker/store/store.go b/internal/workerutil/dbworker/store/store.go index eb87cdba6be4..55b2b4979f12 100644 --- a/internal/workerutil/dbworker/store/store.go +++ b/internal/workerutil/dbworker/store/store.go @@ -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 }