Skip to content

Commit

Permalink
fix: output error
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzhiter committed May 15, 2024
1 parent 9c6a54e commit c2b77e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func InvokeRPC(conf *config.Config) (Client, error) {
bizErr, isBizErr := kerrors.FromBizStatusError(err)
if isBizErr {
if err := c.HandleBizError(bizErr); err != nil {
return nil, errors.New(errors.OutputError, "BizError parse error")
return nil, errors.New(errors.OutputError, "BizError parse error: %v", err)
}
return c, nil
}
Expand Down

0 comments on commit c2b77e3

Please sign in to comment.