From a493035287a592f77ceb3650c443a021f34309b3 Mon Sep 17 00:00:00 2001 From: dlorenc Date: Wed, 23 Jan 2019 12:08:04 -0600 Subject: [PATCH] Log the output from uploading files to GCS. (#541) --- integration/gcs.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/integration/gcs.go b/integration/gcs.go index 5d38ed460..eb6efc77b 100644 --- a/integration/gcs.go +++ b/integration/gcs.go @@ -53,9 +53,11 @@ func UploadFileToBucket(gcsBucket string, filePath string, gcsPath string) (stri log.Printf("Uploading file at %s to GCS bucket at %s\n", filePath, dst) cmd := exec.Command("gsutil", "cp", filePath, dst) - if _, err := RunCommandWithoutTest(cmd); err != nil { + out, err := RunCommandWithoutTest(cmd) + if err != nil { return "", fmt.Errorf("Failed to copy tarball to GCS bucket %s: %s", gcsBucket, err) } + log.Println(string(out)) return dst, nil }