Closed iagopm closed 3 years ago
Steps to reproduce:
Problem in await for response on search.js produces crash.
The response of the find request takes too much time to retrieve the result and then produces a crash. Making variable item null-safe and then reattempt the request should solve the issue.
Environment: Windows 10 19XX and node 16.7.0
Example:
{ "prefix":"!", "token":"", "minutes_per_check":4, "search_response_ms": 60000, "url_params":{}, "guild_item_limit":30, "cache_limit": 30, "required_perms":["permission_1", "permission_2"], "tld":"es", "auto_cart_link":true, "debug_enabled":true }
Should be fixed in the most recent commit
Steps to reproduce:
Problem in await for response on search.js produces crash.
The response of the find request takes too much time to retrieve the result and then produces a crash. Making variable item null-safe and then reattempt the request should solve the issue.
Environment: Windows 10 19XX and node 16.7.0
Example:![2021-08-31 11_30_08-Window](https://user-images.githubusercontent.com/44749393/131481034-6e6275cf-7921-4d7a-9470-4b99f9bb5902.png)