mirror of https://github.com/minio/minio.git
Merge pull request #365 from fkautz/pr_out_adding_iodine_annotation_to_donut_start_path
This commit is contained in:
commit
e8d35258f1
|
@ -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())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue