Skip to content

Commit

Permalink
Update cmd/ftl/cmd_call.go
Browse files Browse the repository at this point in the history
Co-authored-by: Alec Thomas <[email protected]>
  • Loading branch information
mihai-chiorean and alecthomas committed May 17, 2024
1 parent 87de5cc commit 5378fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ftl/cmd_call.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (c *callCmd) Run(ctx context.Context, client ftlv1connect.VerbServiceClient

// no match found
if foundVerb == nil {
return fmt.Errorf("verb not found, did you mean one of these: %v", suggestions)
return fmt.Errorf("verb not found, did you mean one of these: %s", strings.Join(suggestions, ", "))
}

resp, err := client.Call(ctx, connect.NewRequest(&ftlv1.CallRequest{
Expand Down

0 comments on commit 5378fdc

Please sign in to comment.