mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-28 16:08:27 +00:00
Logging
This commit is contained in:
parent
525c9e054f
commit
351ac51691
1 changed files with 3 additions and 0 deletions
|
@ -429,6 +429,7 @@ func (a *KeyInternalAPI) crossSigningKeys(
|
||||||
for userID := range req.UserToDevices {
|
for userID := range req.UserToDevices {
|
||||||
keys, err := a.DB.CrossSigningKeysForUser(ctx, userID)
|
keys, err := a.DB.CrossSigningKeysForUser(ctx, userID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
logrus.WithError(err).Errorf("Failed to get cross-signing keys for user %q", userID)
|
||||||
return fmt.Errorf("a.DB.CrossSigningKeysForUser (%q): %w", userID, err)
|
return fmt.Errorf("a.DB.CrossSigningKeysForUser (%q): %w", userID, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -444,6 +445,8 @@ func (a *KeyInternalAPI) crossSigningKeys(
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
logrus.WithField("key", key).Info("Cross-signing key")
|
||||||
|
|
||||||
// TODO: populate signatures
|
// TODO: populate signatures
|
||||||
|
|
||||||
switch keyType {
|
switch keyType {
|
||||||
|
|
Loading…
Reference in a new issue