add debug
This commit is contained in:
parent
a7c0af726c
commit
6221ed0240
1 changed files with 3 additions and 0 deletions
|
@ -110,6 +110,9 @@ class MastodonEmailBridge:
|
||||||
res = cur.execute("SELECT id FROM sent_items")
|
res = cur.execute("SELECT id FROM sent_items")
|
||||||
rows = res.fetchall()
|
rows = res.fetchall()
|
||||||
for row in rows:
|
for row in rows:
|
||||||
|
self._log.debug(
|
||||||
|
row
|
||||||
|
)
|
||||||
if row[0] in self.sent_items:
|
if row[0] in self.sent_items:
|
||||||
self._log.warning("Duplicate id in database '%s'", row[0])
|
self._log.warning("Duplicate id in database '%s'", row[0])
|
||||||
# else:
|
# else:
|
||||||
|
|
Loading…
Reference in a new issue