From 689cc4c8f3e58b2fad5983aae26e44d06d0a16f8 Mon Sep 17 00:00:00 2001 From: William Batista Date: Mon, 25 Mar 2024 10:24:25 -0400 Subject: [PATCH] Return all logs from `fly pg import` Otherwise, it's more difficult to debug errors --- cmd/migrate/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/migrate/main.go b/cmd/migrate/main.go index c0a02c8..4559912 100644 --- a/cmd/migrate/main.go +++ b/cmd/migrate/main.go @@ -174,5 +174,5 @@ func runCommand(cmdStr string) ([]byte, error) { cmd := exec.Command("sh", "-c", cmdStr) cmd.SysProcAttr = &syscall.SysProcAttr{} - return cmd.Output() + return cmd.CombinedOutput() }