Skip to content

Commit

Permalink
change exception to throwable
Browse files Browse the repository at this point in the history
  • Loading branch information
oneebhkhan committed Oct 31, 2023
1 parent e0a587a commit 02a0a39
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ public void run() {
recordsCnt++;
commitIfNeed();
}
} catch (Exception e) {
log.error("process record failed. ", e);
} catch (Throwable throwable) {
log.error("process record failed. ", throwable);
// fail the sink connector.
running = false;
}
Expand Down

0 comments on commit 02a0a39

Please sign in to comment.