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

Commit 9aa9891

Browse files
keegancsmithvovakulikov
authored andcommitted
dbworker: include recordID in fetchDebugInformationForJob error (#58036)
Not sure why go's format string linter isn't picking this up. Test Plan: n/a
1 parent d6a5c8a commit 9aa9891

File tree

1 file changed

+1
-1
lines changed
  • internal/workerutil/dbworker/store

1 file changed

+1
-1
lines changed

internal/workerutil/dbworker/store/store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ func (s *store[T]) fetchDebugInformationForJob(ctx context.Context, recordID int
10561056
return "", err
10571057
}
10581058
if !ok {
1059-
return "", errors.Newf("fetching debug information for record %d didn't return rows")
1059+
return "", errors.Newf("fetching debug information for record %d didn't return rows", recordID)
10601060
}
10611061
return debug, nil
10621062
}

0 commit comments

Comments
 (0)