From 61dc596ccbef456f0104640d5ac342259a2cd7d1 Mon Sep 17 00:00:00 2001 From: sarahzzhang Date: Wed, 13 Mar 2024 15:37:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A2=9E=E5=8A=A0catch=20error=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tencent/msdk/dns/core/cache/database/CacheDbHelper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/tencent/msdk/dns/core/cache/database/CacheDbHelper.java b/src/main/java/com/tencent/msdk/dns/core/cache/database/CacheDbHelper.java index d61c424..d86a519 100644 --- a/src/main/java/com/tencent/msdk/dns/core/cache/database/CacheDbHelper.java +++ b/src/main/java/com/tencent/msdk/dns/core/cache/database/CacheDbHelper.java @@ -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); } } }