Skip to content

Commit 63e4449

Browse files
adonovangopherbot
authored andcommitted
gopls/internal/telemetry/cmd/stacks: print double-claimed stacks
Otherwise it can be very hard to guess why two issues' rules intersect! Change-Id: I4ac88b9e95f79cf4b2b1f4c8072a6c90c07bb295 Reviewed-on: https://go-review.googlesource.com/c/tools/+/621815 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Robert Findley <[email protected]> Auto-Submit: Alan Donovan <[email protected]>
1 parent f003ff6 commit 63e4449

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: gopls/internal/telemetry/cmd/stacks/stacks.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,8 @@ func main() {
324324
}
325325

326326
if prev := claimedBy[id]; prev != nil && prev != issue {
327-
log.Printf("stack %s is claimed by issues #%d and #%d",
328-
id, prev.Number, issue.Number)
327+
log.Printf("stack %s is claimed by issues #%d and #%d:%s",
328+
id, prev.Number, issue.Number, strings.ReplaceAll("\n"+stack, "\n", "\n- "))
329329
continue
330330
}
331331
if false {

0 commit comments

Comments
 (0)