             try await api.markMessageAsRead(request: request)
             markedRead = true
         } catch {
-            print("")
+            let metadata: Logger.Metadata = [
+                "ID": .string(messageIdentifier),
+                "Error": .string(String(describing: error))
+            ]
+            
+            Self.logger.error("Marking message as read failed", metadata: metadata)
         }
         
         do {

                try managedObjectContext.save()
            } 
        } catch {
            print("")
        }
    }
    

                    
                    refreshObject()
                } catch {
                    let metadata: Logger.Metadata = [
                        "ID": .string(messageIdentifier),
                        "Error": .string(String(describing: error))
                    ]
                    
                    Self.logger.error("Failed to update read status for message", metadata: metadata)
                }
            }
            
