just1689/entity-sync

View on GitHub

Showing 1 of 1 total issue

Method client.handleReadMsg has 5 return statements (exceeds 4 allowed).
Open

func (c *client) handleReadMsg(message []byte) {
    m := shared.Message{}
    if err := json.Unmarshal(message, &m); err != nil {
        logrus.Errorln(err)
        return
Severity: Major
Found in es/esweb/client.go - About 35 mins to fix
    Severity
    Category
    Status
    Source
    Language