diff --git a/relay.go b/relay.go index e957229..6249607 100644 --- a/relay.go +++ b/relay.go @@ -307,6 +307,8 @@ func (r *Relay) Connect(ctx context.Context) error { case *OKEnvelope: if okCallback, exist := r.okCallbacks.Load(env.EventID); exist { okCallback(env.OK, env.Reason) + } else { + InfoLogger.Printf("{%s} got an unexpected OK message for event %s", r.URL, env.EventID) } } }