mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 12:03:50 +01:00
Log for invalid values of notif
This commit is contained in:
parent
803291728c
commit
cb6d4d07b1
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue