Skip to content

Commit 3069f80

Browse files
committed
Fix account not found error
1 parent 63713bb commit 3069f80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

viz/account.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def refresh(self, protocol: str = "") -> None:
5050
"""Loads account object from blockchain."""
5151
try:
5252
account = self.blockchain_instance.rpc.get_account(self.name, protocol)
53-
except IndexError as err:
53+
except Exception as err:
5454
raise AccountDoesNotExistsException from err
5555

5656
# load json_metadata

0 commit comments

Comments
 (0)