Make GetUserDevices logging entry more useful

This commit is contained in:
Neil Alexander 2022-02-17 15:02:06 +00:00
parent 7dfc7c3d70
commit 140077265e
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -373,7 +373,7 @@ func (u *DeviceListUpdater) processServer(serverName gomatrixserverlib.ServerNam
}
} else {
waitTime = time.Hour
logger.WithError(err).Warn("GetUserDevices returned unknown error type")
logger.WithError(err).WithField("user_id", userID).Warn("GetUserDevices returned unknown error type")
}
continue
}