Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2e committed Jul 25, 2024
1 parent 91c2f31 commit d0bd4eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go-runtime/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (m *moduleServer) Call(ctx context.Context, req *connect.Request[ftlv1.Call
}()
handler, ok := m.handlers[reflection.RefFromProto(req.Msg.Verb)]
if !ok {
return nil, connect.NewError(connect.CodeNotFound, fmt.Errorf("verb %q not found", req.Msg.Verb))
return nil, connect.NewError(connect.CodeNotFound, fmt.Errorf("verb %s.%s not found", req.Msg.Verb.Module, req.Msg.Verb.Name))
}

respdata, err := handler.fn(ctx, req.Msg.Body)
Expand Down

0 comments on commit d0bd4eb

Please sign in to comment.