[hotfix][mysql] Catch underlying throwable in snapshot reading.

This closes ##2362.
Co-authored-by: TJX2014 <tangjinxin@deepexi.com>
pull/2387/head
FocusComputing 2 years ago committed by GitHub
parent b8f468effe
commit 094fff41ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -174,7 +174,7 @@ public class SnapshotSplitReader implements DebeziumReader<SourceRecords, MySqlS
"Read snapshot for mysql split %s fail",
currentSnapshotSplit)));
}
} catch (Exception e) {
} catch (Throwable e) {
setReadException(e);
}
});

Loading…
Cancel
Save