Commented logging for utils.Exec()

loop_loop_execution
Paulo Truta 2021-02-18 23:39:54 +00:00
parent f8eaf3b3e1
commit 643ca5f545
1 changed files with 2 additions and 2 deletions

View File

@ -19,10 +19,10 @@ func Exec(command string, args []string) string {
err := cmd.Run()
if err != nil {
// TODO: Deal with possibility of error in command, allow explicit error handling and return proper formatted stderr
log.Println(fmt.Sprint(err) + ": " + stderr.String()) // ... Silence...
// log.Println(fmt.Sprint(err) + ": " + stderr.String()) // ... Silence...
}
log.Println("Result: " + out.String()) // ... Silence ...
// log.Println("Result: " + out.String()) // ... Silence ...
return out.String()