Skip to content

Commit

Permalink
Include remote for invalid token errors (#3410)
Browse files Browse the repository at this point in the history
  • Loading branch information
emcfarlane authored Oct 23, 2024
1 parent 537a0c4 commit 3e990ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func inner(
}
// We don't want to use the default error from wrapError here if the error
// an unauthenticated error.
return errors.New("invalid token provided")
return fmt.Errorf("invalid token provided for %s", remote)
}
user := resp.Msg.User
if user == nil {
Expand Down

0 comments on commit 3e990ec

Please sign in to comment.