cmd: fix missing error message

This commit is contained in:
Christian Schwarz 2017-09-13 23:46:34 +02:00
parent 5faafbb1b4
commit 0acb2e9ec0

View File

@ -58,6 +58,7 @@ func parseSourceJob(name string, i map[string]interface{}) (j *SourceJob, err er
}
if j.Prune, err = parsePrunePolicy(asMap.Prune); err != nil {
err = errors.Wrap(err, "cannot parse 'prune'")
return
}