feat: include exception in error sent from frps to frpc if ping isn't accepted

This commit is contained in:
gulewin 2020-03-13 23:51:04 -04:00
parent 678feb74d1
commit 0263d32c01

View File

@ -466,7 +466,7 @@ func (ctl *Control) manager() {
if err != nil { if err != nil {
xl.Warn("received invalid ping: %v", err) xl.Warn("received invalid ping: %v", err)
ctl.sendCh <- &msg.Pong{ ctl.sendCh <- &msg.Pong{
Error: "invalid authentication in ping", Error: util.GenerateResponseErrorString("invalid ping", err, ctl.serverCfg.DetailedErrorsToClient),
} }
return return
} }