feat(GODT-2502): Additional info.

This commit is contained in:
Jakub
2023-04-14 10:10:58 +02:00
parent 7bb925b6d7
commit 8093bbf5f6
3 changed files with 15 additions and 1 deletions

View File

@ -119,6 +119,12 @@ func New(
return nil, fmt.Errorf("failed to get labels: %w", err)
}
logrus.WithFields(logrus.Fields{
"userID": apiUser.ID,
"numAddr": len(apiAddrs),
"numLabels": len(apiLabels),
}).Info("Creating user object")
// Create the user object.
user := &User{
log: logrus.WithField("userID", apiUser.ID),