forked from MirrorHub/mautrix-whatsapp
Log ping status when calling provisioning API
This commit is contained in:
parent
1a6fdf565e
commit
449943bef8
1 changed files with 2 additions and 0 deletions
|
@ -259,6 +259,8 @@ func (prov *ProvisioningAPI) Ping(w http.ResponseWriter, r *http.Request) {
|
|||
"ok": err == nil,
|
||||
"err": errStr,
|
||||
}
|
||||
user.log.Debugln("Admin test response due to /ping: %v (conn: %t, login: %t, in progress: %t)",
|
||||
err, user.Conn.IsConnected(), user.Conn.IsLoggedIn(), user.Conn.IsLoginInProgress())
|
||||
}
|
||||
resp := map[string]interface{}{
|
||||
"mxid": user.MXID,
|
||||
|
|
Loading…
Reference in a new issue