Skip to content

Commit

Permalink
build: fix error message when uploading fails
Browse files Browse the repository at this point in the history
Use Fatalf() instead of Fatalln()
  • Loading branch information
fho committed Jun 13, 2018
1 parent 2457bc5 commit b570005
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions command/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ func waitPrintUploadStatus(uploader upload.Manager, uploadChan chan *upload.Resu
}

if res.Err != nil {
log.Fatalln("upload of %q failed: %s\n", res.Err,
ar)
log.Fatalf("upload of %q failed: %s\n", ar, res.Err)
}

log.Actionf("%s uploaded to %s (%.3fs)\n",
Expand Down

0 comments on commit b570005

Please sign in to comment.