mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-07 01:28:33 +00:00
feat: implement token expiration watcher
This commit is contained in:
@ -109,7 +109,6 @@ func (c *Client) UpdateUser() (user *User, err error) {
|
||||
}
|
||||
|
||||
c.user = user
|
||||
c.log.Infoln("update user:", user.ID)
|
||||
raven.SetUserContext(&raven.User{ID: user.ID})
|
||||
|
||||
var tmpList AddressList
|
||||
@ -117,6 +116,8 @@ func (c *Client) UpdateUser() (user *User, err error) {
|
||||
c.addresses = tmpList
|
||||
}
|
||||
|
||||
c.log.WithField("userID", user.ID).Info("Updated user")
|
||||
|
||||
return user, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user