Skip to content

Commit

Permalink
Log error message for db call
Browse files Browse the repository at this point in the history
  • Loading branch information
bsquidwrd committed May 3, 2024
1 parent 4a0ad83 commit acfa1b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/receiver_handlers/authorization_grant.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func processAuthorizationGrant(dbServices *database.ReceiverService, notificatio
)

if err != nil {
slog.Warn("Error processing user.authorization.grant for DB call", "user_id", notification.UserID)
slog.Warn("Error processing user.authorization.grant for DB call", "user_id", notification.UserID, "error", err)
return
} else {
slog.Debug("Successfully saved user info to DB")
Expand Down

0 comments on commit acfa1b6

Please sign in to comment.