From 6221ed0240060a798ee2a75c75617c48c79fef00 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 17 Feb 2025 09:54:19 +0200 Subject: [PATCH] add debug --- mastodon_email_bridge/mastodon_email_bridge.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mastodon_email_bridge/mastodon_email_bridge.py b/mastodon_email_bridge/mastodon_email_bridge.py index aea98ff..b0b9b38 100755 --- a/mastodon_email_bridge/mastodon_email_bridge.py +++ b/mastodon_email_bridge/mastodon_email_bridge.py @@ -110,6 +110,9 @@ class MastodonEmailBridge: res = cur.execute("SELECT id FROM sent_items") rows = res.fetchall() for row in rows: + self._log.debug( + row + ) if row[0] in self.sent_items: self._log.warning("Duplicate id in database '%s'", row[0]) # else: