Add extra logs for account not found, peer login and getAccount (#2053)

This commit is contained in:
Maycon Santos
2024-05-27 12:29:28 +02:00
committed by GitHub
parent d4c47eaf8a
commit f176807ebe
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ func (s *GRPCServer) Login(ctx context.Context, req *proto.EncryptedMessage) (*p
})
if err != nil {
log.Warnf("failed logging in peer %s", peerKey)
log.Warnf("failed logging in peer %s: %s", peerKey, err)
return nil, mapError(err)
}