增加log

This commit is contained in:
lwch
2022-08-09 17:16:21 +08:00
parent 83743955d6
commit 951939ce55

View File

@@ -24,6 +24,7 @@ func (app *app) connect() (*websocket.Conn, error) {
app.a.Configure().RewriteServer()
conn, _, err := dialer.Dial(fmt.Sprintf("ws://%s/ws/agent", app.a.Configure().Server), nil)
if err != nil {
logging.Error("dial: %v", err)
return nil, err
}