From 5aabb40c48036c5bf047c939225bcd2e8adc1903 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 7 Jan 2026 14:50:08 +0000 Subject: [PATCH] Improve logging for foreground service exception Co-authored-by: adbenitez <24558636+adbenitez@users.noreply.github.com> --- .../thoughtcrime/securesms/service/FetchForegroundService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/thoughtcrime/securesms/service/FetchForegroundService.java b/src/main/java/org/thoughtcrime/securesms/service/FetchForegroundService.java index f2bdde37a..3d6673109 100644 --- a/src/main/java/org/thoughtcrime/securesms/service/FetchForegroundService.java +++ b/src/main/java/org/thoughtcrime/securesms/service/FetchForegroundService.java @@ -91,7 +91,7 @@ public final class FetchForegroundService extends Service { try { startForeground(NotificationCenter.ID_FETCH, notification); } catch (Exception e) { - Log.w(TAG, "Failed to start foreground service: " + e); + Log.w(TAG, "Failed to start foreground service", e); stopSelf(); return; }