mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Log for invalid values of notif
This commit is contained in:
parent
803291728c
commit
cb6d4d07b1
@ -149,6 +149,12 @@ class EventPushActionsWorkerStore(SQLBaseStore):
|
||||
unread_count += row[0]
|
||||
if row[1] == 1:
|
||||
notify_count = row[0]
|
||||
elif row[1] != 0:
|
||||
logger.warning(
|
||||
"Unexpected value %d for column 'notif' in table"
|
||||
" 'event_push_actions'",
|
||||
row[1],
|
||||
)
|
||||
|
||||
txn.execute(
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user