Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitriy committed Feb 19, 2023
1 parent 974a362 commit a166c30
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions elements/forms/pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ func (p *BasePipeline) SafeRun(

}()
logger = log.PatchLogI(logger, map[string]interface{}{"max_retry": p.Options.Retry.MaxCount})
var err error
retryCount := 0
retryMaxCount := p.Options.Retry.MaxCount

Expand Down Expand Up @@ -152,7 +151,7 @@ func (p *BasePipeline) SafeRun(
)

if eR != nil {
catch(err)
catch(eR)
}

}
Expand Down Expand Up @@ -190,7 +189,6 @@ func (p *BasePipeline) Run(
return nil

}, func(err error) {

pError = err
reject(p, pError)
p.Cancel(context, logCtx, pError)
Expand Down

0 comments on commit a166c30

Please sign in to comment.