Debug for invalid box name

merge-requests/26/head
Bob Mottram 2021-08-01 17:29:12 +01:00
parent 789a9c374a
commit b7b8d35e9c
1 changed files with 1 additions and 0 deletions

View File

@ -755,6 +755,7 @@ def personBoxJson(recentPostsCache: {},
boxname != 'tlfeatures' and \
boxname != 'outbox' and boxname != 'moderation' and \
boxname != 'tlbookmarks' and boxname != 'bookmarks':
print('ERROR: personBoxJson invalid box name ' + boxname)
return None
if not '/' + boxname in path: