Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ public void execute(Context context) throws Exception {
} catch (Exception e) {
LOG.error("Poll change stream records failed ", e);
throw e;
} catch (Throwable t) {
// Handle error
LOG.error("Fatal error when polling change stream records: ", t);
throw new RuntimeException("Fatal error when polling change stream records", t);
} finally {
taskRunning = false;
if (changeStreamCursor != null) {
Expand Down
Loading