From 1c0f6a04fb2a1937abec1358294aed4cde70f064 Mon Sep 17 00:00:00 2001 From: Alex Rakoczy Date: Fri, 2 Sep 2022 15:18:05 -0400 Subject: [PATCH] buildlet: log something useful for quota errors 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 Reviewed-by: Heschi Kreinick Run-TryBot: Jenny Rakoczy --- buildlet/gce.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildlet/gce.go b/buildlet/gce.go index dd601126..84f0a56d 100644 --- a/buildlet/gce.go +++ b/buildlet/gce.go @@ -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 {