From 6a6c7e9e71bfe902387102e06ac26d045298cd02 Mon Sep 17 00:00:00 2001 From: Francisco Date: Tue, 23 Aug 2022 16:31:00 +0700 Subject: [PATCH] misc: fix error message --- event_message.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event_message.go b/event_message.go index ca9af65..1bc4e20 100644 --- a/event_message.go +++ b/event_message.go @@ -87,7 +87,7 @@ func (n *NatsEventMessage) Build() (data []byte, err error) { } if n.NatsEvent == nil { - n.wrapError(errors.New("empty nats nats event")) + n.wrapError(errors.New("empty nats event")) return nil, n.Error }