From 36986d543b1ae110306609143dea808412c5be32 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 14 Mar 2018 20:09:08 +1030 Subject: [PATCH] fixing error handling --- revid/RevidInstance.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/revid/RevidInstance.go b/revid/RevidInstance.go index 83052121..330b9763 100644 --- a/revid/RevidInstance.go +++ b/revid/RevidInstance.go @@ -129,9 +129,8 @@ func NewRevidInstance(config Config) (r *revidInst, err error) { r.Log(Info, "New revid instance created! config is:") r.Log(Info, fmt.Sprintf("%v", r.config)) if r.setupOutput != nil { - err := r.setupOutput() + err = r.setupOutput() if err != nil { - r.Log(Error, "Output setup didn't work!") return } }