Skip to content

Commit 4c85a9d

Browse files
authored
LogFlowError on mysql ConnectionActive failure (#4521)
Avoids stuck mirror being silent in error logs
1 parent a7eee79 commit 4c85a9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flow/activities/flowable_core.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func pullAndSyncCore[TPull connectors.CDCPullConnectorCore, TSync connectors.CDC
149149
}
150150

151151
if err := srcConn.ConnectionActive(ctx); err != nil {
152-
return nil, fmt.Errorf("connection to source down: %w", err)
152+
return nil, a.Alerter.LogFlowError(ctx, flowName, fmt.Errorf("connection to source down: %w", err))
153153
}
154154

155155
batchSize := options.BatchSize

0 commit comments

Comments
 (0)