diff --git a/exp/topology/scope/hookresponsetracker.go b/exp/topology/scope/hookresponsetracker.go index e66a3ac718ec..cf7cb2ca7473 100644 --- a/exp/topology/scope/hookresponsetracker.go +++ b/exp/topology/scope/hookresponsetracker.go @@ -91,7 +91,11 @@ func (h *HookResponseTracker) AggregateMessage() string { hookAndMessages := []string{} for hook, message := range blockingHooks { - hookAndMessages = append(hookAndMessages, fmt.Sprintf("hook %q is blocking: %s", hook, message)) + if message == "" { + hookAndMessages = append(hookAndMessages, fmt.Sprintf("hook %q is blocking", hook)) + } else { + hookAndMessages = append(hookAndMessages, fmt.Sprintf("hook %q is blocking: %s", hook, message)) + } } return strings.Join(hookAndMessages, "; ") }