Skip to content
Snippets Groups Projects
Unverified Commit cb6d4d07 authored by Brendan Abolivier's avatar Brendan Abolivier
Browse files

Log for invalid values of notif

parent 80329172
No related branches found
No related tags found
No related merge requests found
......@@ -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(
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment