From cdc682f844ae5b748b69a731861f09168f553dce Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Sun, 4 Jun 2023 14:15:26 -0600 Subject: [PATCH] mend --- event.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event.go b/event.go index d8290c2..b7fc703 100644 --- a/event.go +++ b/event.go @@ -136,7 +136,7 @@ func AddChild(event Event, child Event, info EventInfo) error { if child.Parent() != nil { child.UnlockParent() event.UnlockParent() - return errors.New(fmt.Sprintf("Parent already registered: %s->%s already %s", child.Name(), event.Name(), event.Parent().Name())) + return errors.New(fmt.Sprintf("Parent already registered: %s->%s already %s", child.Name(), event.Name(), child.Parent().Name())) } event.LockChildren()