Handle any errors when trying to get list of users

This commit is contained in:
floppydiskette 2024-08-13 17:12:09 +01:00
commit 10bee71e6e
No known key found for this signature in database
2 changed files with 13 additions and 4 deletions

View file

@ -19,7 +19,12 @@ module HomeHelper
end
def get_members
users = list_all_users
users_with_public_html(users)
begin
users = list_all_users
rescue
[]
else
users_with_public_html(users)
end
end
end