Skip to content

Commit

Permalink
catch any exception for mysql close when reset() (#1661)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxb1111 authored Nov 23, 2021
1 parent b3468c7 commit c0653d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ public void reset() {
}
try {
this.doClose();
} catch (Exception e) {
} catch (Throwable e) {
LOG.warn("Failed to reset connection", e);
}
}
Expand Down

0 comments on commit c0653d1

Please sign in to comment.