From 0acb2e9ec09b6d9e387cb9ab8feaadc2ce31193c Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Wed, 13 Sep 2017 23:46:34 +0200 Subject: [PATCH] cmd: fix missing error message --- cmd/config_job_source.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/config_job_source.go b/cmd/config_job_source.go index f25415a..e02091f 100644 --- a/cmd/config_job_source.go +++ b/cmd/config_job_source.go @@ -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 }