From 46844ced7c37b86ea8185794323e067d9591c4e0 Mon Sep 17 00:00:00 2001 From: Cody Henthorne Date: Wed, 18 Sep 2024 17:01:46 -0400 Subject: [PATCH] Log notification posting exception when encountered. --- .../securesms/notifications/v2/NotificationFactory.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/notifications/v2/NotificationFactory.kt b/app/src/main/java/org/thoughtcrime/securesms/notifications/v2/NotificationFactory.kt index a0e0626dac..51f26b2996 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/notifications/v2/NotificationFactory.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/notifications/v2/NotificationFactory.kt @@ -480,7 +480,7 @@ object NotificationFactory { notify(notificationId, notification) Log.internal().i(TAG, "Posted notification: $notification") } catch (e: SecurityException) { - Log.i(TAG, "Security exception when posting notification, clearing ringtone") + Log.w(TAG, "Security exception when posting notification, clearing ringtone", e) if (threadRecipient != null) { SignalExecutors.BOUNDED.execute { SignalDatabase.recipients.setMessageRingtone(threadRecipient.id, null)