Skip to content

Commit

Permalink
Add error log entry for maintainpull failed (#2129)
Browse files Browse the repository at this point in the history
Missed a spot where we should add a error log entry for maintain pull
failing
  • Loading branch information
Amogh-Bharadwaj authored Oct 18, 2024
1 parent 939cafb commit 95d160e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flow/activities/flowable.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ func (a *FlowableActivity) MaintainPull(
a.CdcCacheRw.Lock()
delete(a.CdcCache, sessionID)
a.CdcCacheRw.Unlock()
a.Alerter.LogFlowError(ctx, config.FlowJobName, err)
return temporal.NewNonRetryableApplicationError("connection to source down", "disconnect", err)
}
case <-done:
Expand Down

0 comments on commit 95d160e

Please sign in to comment.