Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Querying error while checking token balance #1910

Closed
McDaan opened this issue Sep 20, 2023 · 0 comments · Fixed by #2356
Closed

Querying error while checking token balance #1910

McDaan opened this issue Sep 20, 2023 · 0 comments · Fixed by #2356
Labels

Comments

@McDaan
Copy link
Contributor

McDaan commented Sep 20, 2023

By indicating a token symbol or address in --token flag on namadac balance, it outputs a querying error when there's no balance found. It also contains a typo Eror. Shouldn't this querying error be hidden?

By the way, in case there are no balances from any token (i.e. checking balances without --token flag), it would be nice to show an output like No balances found to avoid confusions.

namadac balance --owner moretest --token NAM
Eror in querying: Querying error: Error in the query: No data found in #atest1v9hx7w36f46kcarfw3hkketwyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpq4w0mck/#atest1v4ehgw36x3prswzxggunzv6pxqmnvdj9xvcyzvpsggeyvs3cg9qnywf589qnwvfsg5erg3fkl09rg5/balance/#atest1d9khqw36g5mr2v6rgsun23zxgg6y2wzzgerryve5xverzvfsg5mnz334xqmrgd3exye5zsfs470s26
No nam balance found for atest1d9khqw36g5mr2v6rgsun23zxgg6y2wzzgerryve5xverzvfsg5mnz334xqmrgd3exye5zsfs470s26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants