mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-05 22:26:53 +00:00
change exit to error when the vkey is not right
This commit is contained in:
@@ -47,7 +47,7 @@ func (s *TRPClient) Start() {
|
||||
retry:
|
||||
c, err := NewConn(s.bridgeConnType, s.vKey, s.svrAddr, common.WORK_MAIN, s.proxyUrl)
|
||||
if err != nil {
|
||||
logs.Error("The connection server failed and will be reconnected in five seconds")
|
||||
logs.Error("The connection server failed and will be reconnected in five seconds, error", err.Error())
|
||||
time.Sleep(time.Second * 5)
|
||||
goto retry
|
||||
}
|
||||
|
Reference in New Issue
Block a user