mirror of
https://github.com/jkstack/libagent.git
synced 2025-12-24 12:11:57 +08:00
增加log
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user