log statement corrected

This commit is contained in:
nityanandagohain 2022-07-27 15:58:58 +05:30
parent 047227ad18
commit d15f9a1709

View File

@ -1955,8 +1955,8 @@ func (aH *APIHandler) tailLogs(w http.ResponseWriter, r *http.Request) {
case <-client.Done:
zap.S().Debug("done!")
return
case <-client.Error:
zap.S().Debug("error occured!")
case err := <-client.Error:
zap.S().Error("error occured!", err)
return
}
}