Skip to content

Commit

Permalink
refactor: print error of token renewal
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Huck committed Dec 13, 2023
1 parent dd44c9f commit 64af53d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/adapter/outlook_http/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (c *CalendarAPI) SetupOauth2(ctx context.Context, credentials auth.Credenti
newToken, err := src.Token()
if err != nil {
// most probably the refresh token is now also expired
c.logger.Infof("saved credentials expired, we need to reauthenticate..")
c.logger.Info("saved credentials expired, we need to reauthenticate..", "error", err)
c.authenticated = false
err := c.storage.RemoveCalendarAuth(c.calendarID)
if err != nil {
Expand Down

0 comments on commit 64af53d

Please sign in to comment.