diff options
author | Terin Stock <terinjokes@gmail.com> | 2018-01-13 11:57:11 -0800 |
---|---|---|
committer | Terin Stock <terinjokes@gmail.com> | 2018-01-13 12:22:05 -0800 |
commit | c4fa14119b3adf467b319b969482a57a4df924f1 (patch) | |
tree | f78a098988e39537fbe46a3854f18fd989b79a31 | |
parent | 06a5b3e92520b5acf25718da5add37cc0a7a9b9f (diff) |
fix(main): include platform in error messages
Include platform information in error messages so that builds may be attributed to a specific platform. Bug: #1
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go index e1ed076..428946f 100644 --- a/main.go +++ b/main.go @@ -210,7 +210,7 @@ func build(ctx context.Context, platform Platform, pkg string) error { err := cmd.Run() if err != nil { - log.Printf("fatal: There was an error! err='%s' stdout='%s' stderr='%s'", err, stdout.String(), stderr.String()) + log.Printf("fatal: There was an error! goos='%s' goarch='%s' err='%s' stdout='%s' stderr='%s'", platform.OS, platform.Arch, err, stdout.String(), stderr.String()) } return err |