Skip to content

Commit

Permalink
Return all logs from fly pg import
Browse files Browse the repository at this point in the history
Otherwise, it's more difficult to debug errors
  • Loading branch information
billyb2 committed Mar 25, 2024
1 parent 5138f66 commit 689cc4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/migrate/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

0 comments on commit 689cc4c

Please # to comment.