diff --git a/geval.go b/geval.go index 34e3657..61ccaaa 100644 --- a/geval.go +++ b/geval.go @@ -19,11 +19,7 @@ func Run(params *Params) { var err error var ctx = context.TODO() - if params.Handler == nil && params.Err == nil { - return - } - - if params.Err == nil { + if params.Err == nil && params.Handler != nil { ctx, err = params.Handler() }