feat: include exception in error sent from frps to frpc if ping isn't accepted
This commit is contained in:
parent
678feb74d1
commit
0263d32c01
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user