Explorar el Código

safeguard more than 1 reply panic

master
Patrick Peng Sun hace 8 años
padre
commit
f712f943eb
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      wechatMsg.go

+ 2
- 1
wechatMsg.go Ver fichero

@@ -29,7 +29,8 @@ func (m *InWechatMsg) replyXML(xml string) {
m.replied = true
m.instantResponse <- xml
} else {
log.Println("BUG::doubl reply for wechat message")
d := decryptToXML(xml)
log.Println("BUG::double reply for wechat message\n" + d + "\n")
}
}


Cargando…
Cancelar
Guardar