There was an error while loading. Please reload this page.
1 parent 4bfbe4d commit 4703f3fCopy full SHA for 4703f3f
1 file changed
tokenlists/manager.py
@@ -115,12 +115,14 @@ def get_token_info(
115
matching_tokens = list(token_iter)
116
if len(matching_tokens) == 0:
117
raise ValueError(
118
- f"Token with symbol '{symbol}' does not exist" f" within '{tokenlist}' token list."
+ f"Token with symbol '{symbol}' does not exist"
119
+ f" within '{tokenlist.name}' token list."
120
)
121
122
elif len(matching_tokens) > 1:
123
- f"Multiple tokens with symbol '{symbol}'" f" found in '{tokenlist}' token list."
124
+ f"Multiple tokens with symbol '{symbol}'"
125
+ f" found in '{tokenlist.name}' token list."
126
127
128
else:
0 commit comments