Fix catching the wrong exception

fixes #504
pull/514/head
Ivan Habunek 2024-11-14 19:14:46 +01:00
rodzic 4548e25cff
commit 2d61a2f30f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 01DB3DD0D824504C
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -363,7 +363,7 @@ class TUI(urwid.Frame):
acct = f'@{self.user.username}@{self.user.instance}'
self.account = api.find_account(self.app, self.user, acct)
return api.following(self.app, self.user, self.account["id"])
except ApiError:
except Exception:
# not supported by all Mastodon servers so fail silently if necessary
return []