sure thing. on it.


On Fri, Jan 10, 2014 at 4:27 PM, Mike Dewar <notifications@github.com>wrote:

> In blocks/toElasticsearch.go:
>
> > +			}
> > +		case <-b.QuitChan:
> > +			quit(b)
> > +			return
> > +		case msg := <-b.InChan:
> > +			if rule == nil {
> > +				break
> > +			}
> > +
> > +      log.Println(msg.Msg)
> > +      response, err := core.Index(true, rule.Index, rule.Type, "", msg.Msg)
> > +			if err != nil {
> > +				log.Println(err.Error())
> > +				break
> > +			}
> > +      log.Printf("Index OK: %v", response.Ok)
>
> and maybe ditch this too? Just log errors.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/nytlabs/streamtools/pull/210/files#r8803246>
> .
>



-- 
Jacqui Maher

Assistant Editor, Interactive News
The New York Times
@jacqui / jacqui.maher@nytimes.com
+17182905392 cell, +12125561471 desk