Print debug error message

This commit is contained in:
Anton Medvedev 2022-04-22 22:27:42 +02:00
parent 36af65042c
commit 77b2632aeb

View File

@ -70,6 +70,8 @@ func Reduce(object interface{}, args []string, theme Theme) {
status, ok := err.(*exec.ExitError)
if ok {
exitCode = status.ExitCode()
} else {
fmt.Println(err.Error())
}
fmt.Print(string(output))
os.Exit(exitCode)