1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-30 09:59:13 +08:00

goroutine note comment

This commit is contained in:
Juan Batiz-Benet
2014-09-16 00:52:10 -07:00
committed by Brian Tiger Chow
parent 27d0e692ed
commit bccb3e871b

View File

@ -167,6 +167,7 @@ func (s *Service) handleIncomingMessage(ctx context.Context, m msg.NetMessage) {
return // no handler, drop it.
}
// should this be "go HandleMessage ... ?"
r1, err := s.Handler.HandleMessage(ctx, m2)
if err != nil {
u.PErr("handled message yielded error %v\n", err)