Skip to content

Commit 36b78f5

Browse files
committed
minor adv
Signed-off-by: sadath-12 <[email protected]>
1 parent 068ef1c commit 36b78f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/http/topic.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ func (s *Server) AddBulkTopicEventHandler(sub *common.Subscription, fn common.To
331331
// Route is only required for HTTP but should be specified for the
332332
// app protocol to be interchangeable.
333333
if sub.Route == "" {
334-
return errors.New("handler route name")
334+
return errors.New("missing route for bulk subscription")
335335
}
336336
if err := s.topicRegistrar.AddBulkSubscription(sub, fn, maxMessagesCount, maxAwaitDurationMs); err != nil {
337337
return err

0 commit comments

Comments
 (0)