Merge pull request #365 from fkautz/pr_out_adding_iodine_annotation_to_donut_start_path

This commit is contained in:
Frederick F. Kautz IV 2015-03-25 00:27:58 -07:00
commit e8d35258f1
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ 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)
err = err.Annotate(map[string]string{"path": path})
if err != nil {
log.Println(err.EmitHumanReadable())
}