cleverbotfree icon indicating copy to clipboard operation
cleverbotfree copied to clipboard

Sometimes returns empty string

Open plasticuproject opened this issue 4 years ago • 0 comments

Sometimes the reply is not properly fetched and the API returns an empty string. This is a timing issue caused by not knowing when exactly to close the page, stopping the page.on("response") event. Need to find a better way to figure out when the request/response has occurred.

plasticuproject avatar May 16 '21 02:05 plasticuproject