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: