judwhite / NsqSharp

A .NET library for NSQ, a realtime distributed messaging platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Log more info on PUB protocol error

judwhite opened this issue · comments

Example:

[2016-10-07 17:13:23.8432] [Error] P1 (127.0.0.1:4150) protocol error - E_BAD_MESSAGE PUB message too big 1061489 > 1024768

It may be a duplicate of this item later in the log:

[2016-10-07 17:13:23.8602] [Error] messageAuditor.OnReceived - NsqSharp.Core.ErrProtocol: E_BAD_MESSAGE PUB message too big 1061489 > 1024768

We should be able to get the Topic and add it to the log output.