Strip message tags in error message
The time tag was causing the registration error messages to be continuously sent to downstream connections. git-svn-id: file:///srv/svn/repo/suika/trunk@396 f0ae65fe-ee39-954e-97ec-027ff2717ef4
This commit is contained in:
parent
4ab774fcd4
commit
79ae95be13
@ -1520,6 +1520,7 @@ func (uc *upstreamConn) runUntilRegistered() error {
|
||||
}
|
||||
|
||||
if err := uc.handleMessage(msg); err != nil {
|
||||
msg.Tags = nil // prevent message tags from cluttering logs
|
||||
return fmt.Errorf("failed to handle message %q: %v", msg, err)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user