log that a invalid query happened
This commit is contained in:
parent
19b17374e8
commit
e222b6ad9c
1 changed files with 2 additions and 0 deletions
|
@ -1031,6 +1031,8 @@ class LBRYElectrumX(SessionBase):
|
|||
return await self.run_and_cache_query('search', kwargs)
|
||||
except TooManyClaimSearchParametersError as err:
|
||||
await asyncio.sleep(2)
|
||||
self.logger.warning("Got an invalid query from %s, for %s with more than %d elements.",
|
||||
self.peer_address()[0], err.key, err.limit)
|
||||
return RPCError(1, str(err))
|
||||
|
||||
async def claimtrie_resolve(self, *urls):
|
||||
|
|
Loading…
Reference in a new issue