Skip to content

Commit

Permalink
rpc: wrap error
Browse files Browse the repository at this point in the history
Co-authored-by: Vojtech Vitek (golang.cz) <[email protected]>
  • Loading branch information
patrislav and VojtechVitek authored Jul 9, 2024
1 parent 01b5211 commit a05f176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/identity_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func (s *RPC) getIDToken(

acc, found, err := s.Accounts.Get(ctx, tnt.ProjectID, identity)
if err != nil {
return nil, err
return nil, fmt.Errorf("getting account: %w", err)
}
if !found {
return nil, fmt.Errorf("account not found")
Expand Down

0 comments on commit a05f176

Please sign in to comment.