Skip to content

Commit

Permalink
fix: 增加catch error处理
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahzzhang committed Mar 13, 2024
1 parent fc2f16a commit 61dc596
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ public void clear() {
if (db != null) {
try {
db.endTransaction();
} catch (Exception ignored) {
} catch (Exception e) {
DnsLog.e("db end transaction error " + e);
}
}
}
Expand Down

0 comments on commit 61dc596

Please sign in to comment.