Skip to content

Commit

Permalink
buildlet: log something useful for quota errors
Browse files Browse the repository at this point in the history
As implemented, it just logs a pointer address.

Updates golang/go#48857

Change-Id: Iba5bc8dbbb7a8eb7b5c110cd34233731e4f534ef
Reviewed-on: https://go-review.googlesource.com/c/build/+/428114
TryBot-Result: Gopher Robot <[email protected]>
Reviewed-by: Heschi Kreinick <[email protected]>
Run-TryBot: Jenny Rakoczy <[email protected]>
  • Loading branch information
toothrot committed Sep 2, 2022
1 parent d7b416f commit 1c0f6a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildlet/gce.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type GCEError struct {
}

func (q *GCEError) Error() string {
return fmt.Sprintf("failed with errors: %v", q.OpErrors)
return fmt.Sprintf("failed with errors: %+v", q.OpErrors)
}

func (q *GCEError) Is(target error) bool {
Expand Down

0 comments on commit 1c0f6a0

Please sign in to comment.