@ -48,10 +48,12 @@ func Start(path string) (chan<- string, <-chan error, drivers.Driver) {
// TODO donut driver should be passed in as Start param and driven by config
var err *iodine.Error
s.donut, err = donut.NewDonut(path)
if err != nil {
err = err.Annotate(map[string]string{"path": path})
log.Println(err.EmitHumanReadable())
}
go start(ctrlChannel, errorChannel, s)
return ctrlChannel, errorChannel, s