Skip to content

Commit

Permalink
[Web] handle product fetch error
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeDSM committed Jan 10, 2025
1 parent b5e136b commit 752be8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Services/Interfaces/web_interface/controllers/community.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def community():
try:
models.wait_for_login_if_processing()
logged_in_email = authenticator.get_logged_in_email()
all_user_bots = models.get_all_user_bots()
except (authentication.AuthenticationRequired, authentication.UnavailableError):
pass
except Exception as e:
Expand All @@ -45,7 +46,7 @@ def community():
is_donor=bool(authenticator.user_account.supports.is_donor()),
strategies=strategies,
current_bots_stats=models.get_current_octobots_stats(),
all_user_bots=models.get_all_user_bots(),
all_user_bots=all_user_bots,
selected_user_bot=models.get_selected_user_bot(),
can_logout=models.can_logout(),
can_select_bot=models.can_select_bot(),
Expand Down

0 comments on commit 752be8f

Please sign in to comment.