import legacy profile errs to debug
This commit is contained in:
parent
c3a830628a
commit
ee4437efe8
|
@ -333,7 +333,7 @@ func ImportLegacyProfile(profile *model.Profile, cps *CwtchProfileStorage) Cwtch
|
||||||
zone, path := attr.ParseZone(parts[1])
|
zone, path := attr.ParseZone(parts[1])
|
||||||
cp.SetScopedZonedAttribute(scope, zone, path, v)
|
cp.SetScopedZonedAttribute(scope, zone, path, v)
|
||||||
} else {
|
} else {
|
||||||
log.Errorf("could not import legacy style attribute %v", k)
|
log.Debugf("could not import legacy style attribute %v", k)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -364,7 +364,7 @@ func ImportLegacyProfile(profile *model.Profile, cps *CwtchProfileStorage) Cwtch
|
||||||
case lastKnownSignature:
|
case lastKnownSignature:
|
||||||
cp.SetConversationAttribute(conversationID, attr.LocalScope.ConstructScopedZonedPath(attr.ProfileZone.ConstructZonedPath(lastReceivedSignature)), value)
|
cp.SetConversationAttribute(conversationID, attr.LocalScope.ConstructScopedZonedPath(attr.ProfileZone.ConstructZonedPath(lastReceivedSignature)), value)
|
||||||
default:
|
default:
|
||||||
log.Errorf("could not import conversation attribute %v", key)
|
log.Debugf("could not import conversation attribute %v", key)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue