From 9a764a187a5bd5c50272c45af160b391d38bc8f3 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 20 May 2026 19:45:15 +0200 Subject: [PATCH] Adjusted logging --- nomadnet/Conversation.py | 2 -- nomadnet/ui/textui/Conversations.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/nomadnet/Conversation.py b/nomadnet/Conversation.py index 26a5089..63b99c8 100644 --- a/nomadnet/Conversation.py +++ b/nomadnet/Conversation.py @@ -600,10 +600,8 @@ class ConversationMessage: def content_renderer(self): if not self.loaded: self.load() - RNS.log(self.lxm) if self.lxm and hasattr(self.lxm, "get_fields"): fields = self.lxm.get_fields() - RNS.log(f"has fields: {fields}") if fields and isinstance(fields, dict): if LXMF.FIELD_RENDERER in fields: return fields[LXMF.FIELD_RENDERER] diff --git a/nomadnet/ui/textui/Conversations.py b/nomadnet/ui/textui/Conversations.py index 3c9705c..49bb6e7 100644 --- a/nomadnet/ui/textui/Conversations.py +++ b/nomadnet/ui/textui/Conversations.py @@ -1301,7 +1301,7 @@ class ConversationWidget(urwid.WidgetWrap): try: message_widget = LXMessageWidget(message, theme=self.app.config["textui"]["theme"]) except Exception as e: - RNS.log("Skipping message widget for "+str(message.file_path)+" due to error: "+str(e), RNS.LOG_DEBUG) + RNS.log("Skipping message loading for "+str(message.file_path)+" due to error: "+str(e), RNS.LOG_WARNING) message.unload() continue self.message_widgets.append(message_widget)