From 539d20b39782a39a825b5e8dc21c5b7dc42e9bf2 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Fri, 25 Apr 2025 17:03:26 -0400 Subject: [PATCH] Adds an error log for the new on account view model processor --- .../amethyst/ui/screen/loggedIn/PrecacheNewNotesProcessor.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/PrecacheNewNotesProcessor.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/PrecacheNewNotesProcessor.kt index bd4cb054b..d95f7b867 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/PrecacheNewNotesProcessor.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/PrecacheNewNotesProcessor.kt @@ -20,6 +20,7 @@ */ package com.vitorpamplona.amethyst.ui.screen.loggedIn +import android.util.Log import com.vitorpamplona.amethyst.Amethyst import com.vitorpamplona.amethyst.model.Account import com.vitorpamplona.amethyst.model.LocalCache @@ -112,6 +113,7 @@ class PrecacheNewNotesProcessor( } } catch (e: Exception) { if (e is CancellationException) throw e + Log.e("PrecacheNewNotesProcessor", "This shouldn't happen", e) } } }