Removed extra log statement on error
@@ -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 {
