diff --git a/core/endpoint.go b/core/endpoint.go index 646cc7a3..9a7c67d5 100644 --- a/core/endpoint.go +++ b/core/endpoint.go @@ -197,6 +197,9 @@ func (endpoint *Endpoint) EvaluateHealth() *Result { result.body = nil // Clean up parameters that we don't need to keep in the results if endpoint.UIConfig.HideHostname { + for errIdx, errorString := range result.Errors { + result.Errors[errIdx] = strings.ReplaceAll(errorString, result.Hostname, "host") + } result.Hostname = "" } return result