diff --git a/matrix/federation.go b/matrix/federation.go index b4bd6cda3ea4797211193f20532980893578f451..ed192fafa0fbae5ac56f0402da8332cbf9b61ef7 100644 --- a/matrix/federation.go +++ b/matrix/federation.go @@ -165,6 +165,10 @@ func GetServerApiUrl(hostname string) (string, string, error) { } } } + if r != nil { + logrus.Debug("WK response code was ", r.StatusCode) + } + logrus.Debug("WK error: ", err) // Step 4: try resolving a hostname using SRV records and use it // Note: we ignore errors here because the hostname will fail elsewhere.