Skip to content

Commit

Permalink
Update enclosing error message prefix
Browse files Browse the repository at this point in the history
Reduce duplication by clarifying the intent behind the calling
function (by way of updating the wrapping error msg prefix).

refs GH-815
  • Loading branch information
atc0005 committed Nov 12, 2024
1 parent 1079f52 commit cc13d0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/mbxs/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func OAuth2ClientCredsAuth(
if err != nil {
logger.Debug().Err(err).Msg("Failed to retrieve token")
return fmt.Errorf(
"failed to retrieve token: %w",
"failed to authenticate: %w",
err,
)
}
Expand Down

0 comments on commit cc13d0c

Please sign in to comment.