refactor logger calls

This commit is contained in:
Roman Isaev 2025-01-05 02:24:40 +00:00
parent 7ffb2c1d81
commit c06e0aa206
No known key found for this signature in database
GPG key ID: 7BE2B6A6C89AEC7F
4 changed files with 6 additions and 6 deletions

View file

@ -285,7 +285,7 @@ func (a *UserInternalAPI) QueryKeys(ctx context.Context, req *api.QueryKeysReque
DeviceIDs: dids,
}, &queryRes)
if err != nil {
util.GetLogger(ctx).Warnf("Failed to QueryDeviceInfos for device IDs, display names will be missing")
util.GetLogger(ctx).WithError(err).Warnf("Failed to QueryDeviceInfos for device IDs, display names will be missing")
}
if res.DeviceKeys[userID] == nil {