Skip to content

Commit

Permalink
fix unhandled err
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim Sukharev <[email protected]>
  • Loading branch information
smacker committed Nov 22, 2018
1 parent d68d1ae commit 650fcdd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/lookout-sdk/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ func (c *EventCommand) makeDataServerHandler() (*lookout.DataServerHandler, erro
func (c *EventCommand) bindDataServer(srv *lookout.DataServerHandler, serveResult chan error) (*grpc.Server, error) {
log.Infof("starting a DataServer at %s", c.DataServer)
bblfshGrpcAddr, err := grpchelper.ToGoGrpcAddress(c.Bblfshd)
if err != nil {
return nil, fmt.Errorf("Can't resolve bblfsh address '%s': %s", c.Bblfshd, err)
}

grpcSrv, err := grpchelper.NewBblfshProxyServer(bblfshGrpcAddr)
if err != nil {
return nil, fmt.Errorf("Can't start bblfsh proxy server: %s", err)
Expand Down

0 comments on commit 650fcdd

Please sign in to comment.