Skip to content

Commit f2b423b

Browse files
committed
fix: clarify warning message for listings cap in Magic Eden API
1 parent 9c8c77e commit f2b423b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

blockapi/v2/api/nft/magic_eden.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ def __init__(self, sleep_provider, max_listings=500, max_offers=500):
5353
self.max_offers = max_offers
5454
if max_listings > 15000:
5555
logger.warning(
56-
'Listings cap exceeding 15000 will cause an error.'
57-
' Setting maximum to 15000.'
56+
'Listings cap exceeding 15000 will cause an error: '
57+
'"offset should be non-negative integer". '
58+
'Setting maximum to 15000.'
5859
)
5960
self.max_listings = 15000
6061
else:

0 commit comments

Comments
 (0)