diff --git a/internal/workerutil/dbworker/store/store.go b/internal/workerutil/dbworker/store/store.go index eb87cdba6be4a..55b2b4979f12d 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 }