From d83cdb37781a055057503be1a457da7ac279ba59 Mon Sep 17 00:00:00 2001 From: Patrick Britton Date: Fri, 6 Feb 2026 15:40:36 -0600 Subject: [PATCH] Fix orphaned string literals in local_message_store.dart causing build failure --- sojorn_app/lib/services/local_message_store.dart | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sojorn_app/lib/services/local_message_store.dart b/sojorn_app/lib/services/local_message_store.dart index 081517e..5d53b2c 100644 --- a/sojorn_app/lib/services/local_message_store.dart +++ b/sojorn_app/lib/services/local_message_store.dart @@ -89,9 +89,7 @@ class LocalMessageStore { ); return _cachedKey!; } catch (e) { - if (attempt == _maxRetries - 1) { - '[LOCAL_STORE] Failed to store encryption key after $_maxRetries attempts: $e'); - } + if (attempt == _maxRetries - 1) rethrow; await Future.delayed(_retryDelay * (attempt + 1)); } } @@ -187,7 +185,6 @@ class LocalMessageStore { success = true; break; } catch (e) { - '[LOCAL_STORE] Save attempt ${attempt + 1}/$_maxRetries failed for $messageId: $e'); if (attempt < _maxRetries - 1) { await Future.delayed(_retryDelay * (attempt + 1)); } @@ -250,7 +247,6 @@ class LocalMessageStore { await _messageBox!.delete(messageId); return pending?.plaintext; } - '[LOCAL_STORE] Read attempt ${attempt + 1}/$_maxRetries failed for $messageId: $e'); if (attempt < _maxRetries - 1) { await Future.delayed(_retryDelay * (attempt + 1)); } @@ -453,7 +449,6 @@ class LocalMessageStore { return true; } catch (e) { - '[LOCAL_STORE] Delete attempt ${attempt + 1}/$_maxRetries failed for $messageId: $e'); if (attempt < _maxRetries - 1) { await Future.delayed(_retryDelay * (attempt + 1)); }