diff --git a/watchdog/main.go b/watchdog/main.go index d10b00e541f0ec905da95fc5aeeef837093bb0a0..c26cef3012045b6e0994b6e31a7b9cc8549637a8 100644 --- a/watchdog/main.go +++ b/watchdog/main.go @@ -145,8 +145,6 @@ func pipeRequest(config *WatchdogConfig, w http.ResponseWriter, r *http.Request, if config.writeDebug == true { log.Printf("Success=%t, Error=%s\n", targetCmd.ProcessState.Success(), err.Error()) log.Printf("Out=%s\n", out) - } else { - log.Printf("An Error Occurred\n") } if ri.headerWritten == false {