chore: Improve "wrong category" error.

This commit is contained in:
Matthias 2024-09-26 20:21:27 +02:00
parent 7b93b55b78
commit cb36f2844e

View File

@ -53,7 +53,8 @@ class MarketCapPairList(IPairList):
for category in self._categories:
if category not in category_ids:
raise OperationalException(
f"category not in coingecko category list you can choose from {category_ids}"
f"category {category} not in coingecko category list. "
f"You can choose from {category_ids}"
)
if self._max_rank > 250: