From 15e5eb67f9c13e8dd642cf20c0113969b35e06ac Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Mon, 14 Mar 2022 22:53:46 +1100 Subject: [PATCH] Output error message in `runCommand` --- v2/cmd/wails/internal/commands/dev/dev.go | 1 + 1 file changed, 1 insertion(+) diff --git a/v2/cmd/wails/internal/commands/dev/dev.go b/v2/cmd/wails/internal/commands/dev/dev.go index 1d168f91d..063794f1f 100644 --- a/v2/cmd/wails/internal/commands/dev/dev.go +++ b/v2/cmd/wails/internal/commands/dev/dev.go @@ -246,6 +246,7 @@ func runCommand(dir string, exitOnError bool, command string, args ...string) er output, err := cmd.CombinedOutput() if err != nil { println(string(output)) + println(err.Error()) if exitOnError { os.Exit(1) }