Skip to content

Commit

Permalink
add exception type
Browse files Browse the repository at this point in the history
  • Loading branch information
harisang committed Sep 16, 2023
1 parent 693aac4 commit 68f8d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/missing_tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def fetch_missing_tokens(dune: DuneClient, network: Network) -> list[Address]:
for row in v2_missing.get_rows():
try:
result.append(Address(row["token"]))
except:
except ValueError:
print("Cannot add token")
return result

Expand Down

0 comments on commit 68f8d36

Please sign in to comment.